• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

new to servlets

 
indira yeturu
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi I am new to servlets and I m trying to do on headfirst java-81 page
i m getting this problem,
can anyone gimme hint why this occurs??


javax.servlet.ServletException: Wrapper cannot find servlet class web.BeerSelect or a class it depends on
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
java.lang.Thread.run(Thread.java:534)


root cause
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It sounds like you don't have your classpath set up properly.
I'm going to move this to our Java In General (Beginner) forum where classpath and javac issues are handled.

We also have this FAQ entry with some tips for compiling servlets.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic