This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Servlets

 
Ranch Hand
Posts: 161
Firefox Browser Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to get back in the cattle drive (Servlets is where I had left) but I am running to a big wall.

I started doing the first instruction on servlets like install orion, run orion, moo and date web browser with no problem. However, when it comes to installing JavaEE SDK, compiling and browsing to beeservlet, it gives me the following errors...

500 Internal Server Error

java.lang.NoClassDefFoundError: com/javaranch/drive/BeeServlet$Defaultry

at com.javaranch.drive.BeeServlet.init(BeeServlet.java:19)
at javax.servlet.GenericServlet.init(GenericServlet.java:44)
at com.evermind[Orion/2.0.7 (build 11273)]._ay._lye(Unknown Source)
at com.evermind[Orion/2.0.7 (build 11273)]._ay._cbd(Unknown Source)
at com.evermind[Orion/2.0.7 (build 11273)]._ay._nlc(Unknown Source)
at com.evermind[Orion/2.0.7 (build 11273)]._ax._lsc(Unknown Source)
at com.evermind[Orion/2.0.7 (build 11273)]._ax._uab(Unknown Source)
at com.evermind[Orion/2.0.7 (build 11273)]._bf.run(Unknown Source)

Does anyone have any ideas on what to try?

Thanks,
Gary

 
Sheriff
Posts: 3034
12
Mac IntelliJ IDE Python VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That BeeServlet$Defaultry looks weird ... like it's trying to be DefaultEntry, but getting garbled. What's also weird is the example BeeServlet from the Cattle Drive doesn't implement the init() method at all, and in fact barely even has 19 lines. Can you post the code you're using here?
 
Gary Ba
Ranch Hand
Posts: 161
Firefox Browser Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I finally got BeeServlet error out of my laptop!!!

Okay, if anyone is interested I can share it tomorrow.

Good night,
Gary

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!