java.lang.ClassNotFoundException

org.apache.jsp.jsp.loginSession\_jsp not found in org.apache.jasper.servlet.JasperLoader\{urls=\[file:/usr/share/tomcat5/work/Catalina/localhost/track/\], parent=WebappClassLoader   delegate: false   repositories:   /WEB-INF/classes/ \----------> Parent Classloader: org.apache.catalina.loader.StandardClassLoader\{urls=\[file:/var/lib/tomcat5/shared/classes/\], parent=org.apache.catalina.loader.StandardClassLoader\{urls=\[file:/var/lib/tomcat5/common/classes/,file:/var/lib/tomcat5/common/i18n/tomcat-i18n-en.jar,file:/var/lib/tomcat5/common/i18n/tomcat-i18n-fr.jar,file:/var/lib/tomcat5/common/i18n/tomcat-i18n-es.jar,file:/var/lib/tomcat5/common/i18n/tomcat-i18n-ja.jar,file:/usr/share/java/xml-commons-apis-1.3.04.jar,file:/usr/share/java/xerces-j2-2.7.1.jar,file:/usr/share/java/tomcat5/naming-factory-5.5.26.jar,file:/var/lib/tomcat5/common/lib/mysql-connector-java-3.1.14-bin.jar,file:/var/lib/tomcat5/common/lib/mail.jar,file:/usr/share/java/jasper5-runtime-5.5.26.jar,file:/usr/share/java/jasper5-compiler-5.5.26.jar,file:/usr/share/java/tomcat5-servlet-2.4-api-5.5.26.jar,file:/usr/share/eclipse/plugins/org.eclipse.jdt.core\_3.3.0.v\_771.jar,file:/usr/share/java/jakarta-commons-el-1.0.jar,file:/usr/share/java/jakarta-commons-collections-tomcat5-3.1.jar,file:/usr/share/java/jakarta-commons-pool-tomcat5-1.3.jar,file:/usr/share/java/tomcat5-jsp-2.0-api-5.5.26.jar,file:/usr/share/java/jakarta-commons-dbcp-tomcat5-1.2.1.jar,file:/var/lib/tomcat5/common/lib/activation.jar,file:/usr/share/java/classpathx-mail-1.3.1-monolithic-1.1.1.jar,file:/usr/share/java/tomcat5/naming-resources-5.5.26.jar\], parent=gnu.gcj.runtime.SystemClassLoader\{urls=\[file:/usr/lib/jvm/java/lib/tools.jar,file:/usr/share/tomcat5/bin/bootstrap.jar,file:/usr/share/tomcat5/bin/commons-logging-api.jar,file:/usr/share/java/mx4j/mx4j-impl.jar,file:/usr/share/java/mx4j/mx4j-jmx.jar\], parent=gnu.gcj.runtime.ExtensionClassLoader\{urls=\[\], parent=null\}\}\}\} \}

Samebug tips6

jsp-api and servlet-api jars must NOT be deployed by your web app. They should be marked as provided but not deployed by your app.

The server rejects all jars that already belong to the server runtime (such as tomcat-.jar, servlet.jar). Consider substituting the CORS filter you're using for this one: https://goo.gl/ctQ7Fs

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web6578

  • via opengts by black_hawk97
    , 11 months ago
    org.apache.jsp.jsp.loginSession\_jsp not found in org.apache.jasper.servlet.JasperLoader\{urls=\[file:/usr/share/tomcat5/work/Catalina/localhost/track/\], parent=WebappClassLoader   delegate: false   repositories:   /WEB-INF/classes
  • -i18n-fr.jar,file:/var/lib/tomcat5/common/i18n/tomcat-i18n-es.jar,file:/var/lib/tomcat5/common/i18n/tomcat-i18n-ja.jar,file:/usr/share/java/xml-commons-apis-1.3.02.jar,file:/usr/share/java/xerces-j2-2.7.1.jar,file:/usr/share/java/jakarta-commons
  • via Stack Overflow by Unknown author, 1 year ago
    =gnu.gcj.runtime.SystemClassLoader{urls=[file:/usr/lib/jvm/java/lib/tools.jar,file:/usr/share/tomcat5/bin/bootstrap.jar,file:/usr/share/tomcat5/bin/commons-logging-api.jar,file:/usr/share/java/mx4j/mx4j-impl.jar,file:/usr/share/java/mx4j/mx4j-jmx.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}}}
  • Stack trace

    • java.lang.ClassNotFoundException: org.apache.jsp.jsp.loginSession\_jsp not found in org.apache.jasper.servlet.JasperLoader\{urls=\[file:/usr/share/tomcat5/work/Catalina/localhost/track/\], parent=WebappClassLoader   delegate: false   repositories:   /WEB-INF/classes/ \----------> Parent Classloader: org.apache.catalina.loader.StandardClassLoader\{urls=\[file:/var/lib/tomcat5/shared/classes/\], parent=org.apache.catalina.loader.StandardClassLoader\{urls=\[file:/var/lib/tomcat5/common/classes/,file:/var/lib/tomcat5/common/i18n/tomcat-i18n-en.jar,file:/var/lib/tomcat5/common/i18n/tomcat-i18n-fr.jar,file:/var/lib/tomcat5/common/i18n/tomcat-i18n-es.jar,file:/var/lib/tomcat5/common/i18n/tomcat-i18n-ja.jar,file:/usr/share/java/xml-commons-apis-1.3.04.jar,file:/usr/share/java/xerces-j2-2.7.1.jar,file:/usr/share/java/tomcat5
    • aming-factory-5.5.26.jar,file:/var/lib/tomcat5/common/lib/mysql-connector-java-3.1.14-bin.jar,file:/var/lib/tomcat5/common/lib/mail.jar,file:/usr/share/java/jasper5-runtime-5.5.26.jar,file:/usr/share/java/jasper5-compiler-5.5.26.jar,file:/usr/share/java/tomcat5-servlet-2.4-api-5.5.26.jar,file:/usr/share/eclipse/plugins/org.eclipse.jdt.core\_3.3.0.v\_771.jar,file:/usr/share/java/jakarta-commons-el-1.0.jar,file:/usr/share/java/jakarta-commons-collections-tomcat5-3.1.jar,file:/usr/share/java/jakarta-commons-pool-tomcat5-1.3.jar,file:/usr/share/java/tomcat5-jsp-2.0-api-5.5.26.jar,file:/usr/share/java/jakarta-commons-dbcp-tomcat5-1.2.1.jar,file:/var/lib/tomcat5/common/lib/activation.jar,file:/usr/share/java/classpathx-mail-1.3.1-monolithic-1.1.1.jar,file:/usr/share/java/tomcat5
    • aming-resources-5.5.26.jar\], parent=gnu.gcj.runtime.SystemClassLoader\{urls=\[file:/usr/lib/jvm/java/lib/tools.jar,file:/usr/share/tomcat5/bin/bootstrap.jar,file:/usr/share/tomcat5/bin/commons-logging-api.jar,file:/usr/share/java/mx4j/mx4j-impl.jar,file:/usr/share/java/mx4j/mx4j-jmx.jar\], parent=gnu.gcj.runtime.ExtensionClassLoader\{urls=\[\], parent=null\}\}\}\} \} at java.net.URLClassLoader.findClass(libgcj.so.8rh) at org.apache.jasper.servlet.JasperLoader.loadClass(jasper5-compiler-5.5.26.jar.so) at org.apache.jasper.servlet.JasperLoader.loadClass(jasper5-compiler-5.5.26.jar.so) at org.apache.jasper.JspCompilationContext.load(jasper5-compiler-5.5.26.jar.so) at org.apache.jasper.servlet.JspServletWrapper.getServlet(jasper5-compiler-5.5.26.jar.so) at org.apache.jasper.servlet.JspServletWrapper.service(jasper5-compiler-5.5.26.jar.so) at org.apache.jasper.servlet.JspServlet.serviceJspFile(jasper5-compiler-5.5.26.jar.so) at org.apache.jasper.servlet.JspServlet.service(jasper5-compiler-5.5.26.jar.so) at javax.servlet.http.HttpServlet.service(tomcat5-servlet-2.4-api-5.5.26.jar.so) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(catalina-5.5.26.jar.so) at org.apache.catalina.core.ApplicationFilterChain.doFilter(catalina-5.5.26.jar.so) at org.apache.catalina.core.ApplicationDispatcher.invoke(catalina-5.5.26.jar.so) at org.apache.catalina.core.ApplicationDispatcher.processRequest(catalina-5.5.26.jar.so) at org.apache.catalina.core.ApplicationDispatcher.doForward(catalina-5.5.26.jar.so) at org.apache.catalina.core.ApplicationDispatcher.forward(catalina-5.5.26.jar.so) at org.opengts.war.tools.CommonServlet.writePageFrame(CommonServlet.java:189) at org.opengts.war.track.page.AccountLogin.writePage(AccountLogin.java:177) at org.opengts.war.track.Track.displayLogin(Track.java:661)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 2 months ago
    Unknown user
    Once, 3 months ago
    Unknown user
    Once, 4 months ago
    1538 more bugmates