Search code examples
javaphpapachetomcattomcat8

Apache Tomcat 8 not working. Throws HTTP Status 500 - java.lang.ClassNotFoundException: org.apache.jsp.index_jsp


I am using Apache Tomcat 8 and I've JDK 1.7.

Tomcat starts running after I run "startup.bat". But when I try to run "http://localhost:8080/", it shows an error: "HTTP Status 500 - java.lang.ClassNotFoundException: org.apache.jsp.index_jsp"

Please help me to fix this. enter image description here Click here to see the screenshot


Solution

  • IT'S WORKING!

    What I did:

    1. Opened command prompt using "Run as administrator"
    2. Went to the "bin" directory of Tomcat folder.

      cd C:\Program Files\apache-tomcat-8.0.3\bin'  
      
    3. Entered 'startup' to run 'startup.bat' and the server started
    4. Opened a web browser entered http://localhost:8080/ and it worked like charm. This also started generating Tomcat log files too.

    The only different thing I performed is "Run as administrator".

    But I checked with Tomcat7 it did not require me to "Run as administrator" but it worked; not sure why