tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Avinash Sridhar" <smartnas...@rediffmail.com>
Subject Help HTTP 500 error using tomcat 5.0.16
Date Wed, 04 Feb 2004 14:07:29 GMT
Hi,
I am getting the below mentioned erors using Tomcat 5.0.16 in a directory structure like this




E:\sampleapp\WEB-INF
\WEB-INF\classes
\WEB-INF\lib
\WEB-INF\sourcefile
\WEB-INF\web.xml




HTTP Status 500 - 

--------------------------------------------------------------------------------


type Exception report

message 

description The server encountered an internal error () that prevented it from fulfilling
this request.

exception 

javax.servlet.ServletException: Wrapper cannot find servlet class package1.structure.HelloServlet
or a class it depends on
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:211)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:805)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:696)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
java.lang.Thread.run(Thread.java:534)


root cause 

java.lang.ClassNotFoundException: package1.structure.HelloServlet
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1366)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1213)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:211)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:805)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:696)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
java.lang.Thread.run(Thread.java:534)



Kindly let me know how to come around it.

Any help would be appreciated.

PS : The package1.structure.HelloServlet

E:\WEB-INF\classes\package1\structure is in this folder.


Thanks 
AS

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message