Use JRE_HOME not JAVA_HOME. It should point to jre1.6.0.02 directory. If you are trying to access the site from the machine it is on try http://localhost:8080 , if you are trying to access it from a remote system across the network use http://###.###.###.###:8080 the machine actual IP address, 127.0.0.1 is a loopback address.
-----Original Message----- From: Gaurav Pruthi [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2008 7:50 AM To: users@tomcat.apache.org Subject: NoClassDefFoundError Hi All, I had installed tomcat last year. Everything was find but yesterday i saw a strange error. Under examples, i can't execute even a single jsp script. I gets the following error. I don't have any CLASSPATH set. I m using Tomcat 6.0.14 & JRE1.6.0.02 with mod_jk. On the web interface, i am using http://127.0.0.1:8080/ I tried using latest version of tomcat ie. 6.0.16 & JRE1.6.06 but in vain and facing same issue. Can anybody guide me what could be the issue. I have already set JAVA_HOME & CATALINA_HOME Here is the error: javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator Base.java:433) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :102) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2 86) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84 4) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process( Http11Protocol.java:583) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) java.lang.Thread.run(Unknown Source) *root cause* java.lang.NoClassDefFoundError: Could not initialize class org.apache.jasper.compiler.JspRuntimeContext org.apache.jasper.servlet.JspServlet.init(JspServlet.java:101) org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator Base.java:433) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :102) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2 86) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84 4) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process( Http11Protocol.java:583) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) java.lang.Thread.run(Unknown Source) Thanks, Gaurav Pruthi --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]