Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

See the following error to access the localhost:8080:

HTTP Status 500 -

type Exception report

message

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

exception

org.apache.jasper.JasperException: java.lang.ClassNotFoundException: org.apache.jsp.index_jsp
    org.apache.jasper.servlet.JspServletWrapper.getServlet(Unknown Source)
    org.apache.jasper.servlet.JspServletWrapper.service(Unknown Source)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source)
    org.apache.jasper.servlet.JspServlet.service(Unknown Source)
    javax.servlet.http.HttpServlet.service(Unknown Source)
root cause

java.lang.ClassNotFoundException: org.apache.jsp.index_jsp
    java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    java.security.AccessController.doPrivileged(Native Method)
    java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    org.apache.jasper.servlet.JasperLoader.loadClass(Unknown Source)
    org.apache.jasper.servlet.JasperLoader.loadClass(Unknown Source)
    org.apache.jasper.servlet.JspServletWrapper.getServlet(Unknown Source)
    org.apache.jasper.servlet.JspServletWrapper.service(Unknown Source)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source)
    org.apache.jasper.servlet.JspServlet.service(Unknown Source)
    javax.servlet.http.HttpServlet.service(Unknown Source)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.23-gentoo logs.

Apache Tomcat/7.0.23-gentoo
share|improve this question
    
what's the question? – studiohack Jan 12 '12 at 17:16
    
Error to access the localhost:8080 – gustavosiq Jan 12 '12 at 17:19
    
and....? please update your question and include an actual question. – studiohack Jan 12 '12 at 17:19
    
Okay. Sorry.... – gustavosiq Jan 12 '12 at 17:27

I experienced this problem just now. if your are on windows machine make sure that you added CATALINA_HOME environment variable pointing to your <tomcatdirectory>\bin.

share|improve this answer

Error says

java.lang.ClassNotFoundException

It seems either some lib files are missing

OR

Servlet class path is entered wrong

share|improve this answer

For Java-EE project converted to Maven project with jstl dependency in pom.xml

  • right click the project in question
  • open Properties
  • click on Deployment Assembly
  • click Add
  • select Java Build Path Entries
  • select Maven dependencies
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .