• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

BeeServlet Example JSP 500 error

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Afternoon

I have tried to do the new BeeServlet example on
http://www.javaranch.com/drive/servlet/index.jsp#reverse

Everything compiles ok and I have jr.jar in
/usr/local/apache-tomcat-7.0.30/Home/lib folder

I have put the class file in /BeeServlet/WEB-INF/classes/com/javaranch/drive
the jsp is in /BeeServlet

I am getting a 500 error though.

I have googled this and the general consensus is that I am missing a
jar. And that is where I get stuck as I think I have what I need in
the correct place.

Again any pointers are greatly appreciated.

Thanks

Dan

 
Ranch Hand
Posts: 339
7
Tomcat Server Ubuntu Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You may be missing the servlet-api.jar , on my machine it is in my c:\tomcat\lib\ folder. On yours it would probably be in the same place you have the jr.jar.

Does the tomcat management console work on your machine?

You look like you are on linux, perhaps Ubuntu. Sometimes the Ubuntu setup uses different folders for the libraries than you would expect.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic