Showing posts with label servlet. Show all posts
Showing posts with label servlet. Show all posts
HTTP Status 500 - java.lang.ClassNotFoundException: org.apache.jsp.index_jsp

HTTP Status 500 - java.lang.ClassNotFoundException: org.apache.jsp.index_jsp

Error Message: HTTP Status 500 - java.lang.ClassNotFoundException: org.apache.jsp.index_jsp

Solution:

if you are using Maven web project, then add below dependencies to the pom.xml file.otherwise, download jstl-1.2.jar and standard-1.1.2.jar files and add them to your project library.


Maven Dependecies:

<!-- https://mvnrepository.com/artifact/javax.servlet/jstl -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
<!-- https://mvnrepository.com/artifact/taglibs/standard -->
<dependency>
<groupId>taglibs</groupId>
<artifactId>standard</artifactId>
<version>1.1.2</version>
</dependency>

if still reproducing the same issue, let us know by commenting.
Solution:welcome file not loading in spring maven

Solution:welcome file not loading in spring maven

Welcome file html not working with spring project,showing HTTP status-404 error message

welcome file
HTTP-404 resource not Found

You need to put the JSP file in /index.jsp instead of in /WEB-INF/jsp/index.jsp. This way the whole servlet is superfluous by the way.

 WebContent 
          |-- META-INF 
          |-- WEB-INF 
                 -- web.xml 
            -- index.jsp