• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

BeeServlet Example JSP 500 error

 
Dan Rh Jones
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • 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

 
margaret gillon
Ranch Hand
Posts: 335
6
Linux Tomcat Server Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic