Java. lang. NoClassDefFoundError: org/apache/jsp/Container_jsp, org. apache. jsp

Source: Internet
Author: User

Java. lang. NoClassDefFoundError: org/apache/jsp/Container_jsp, org. apache. jsp

1. Error description

August 20 7:10:18 org. apache. catalina. core. serious StandardWrapperValve invoke: Servlet. service () for servlet [jsp] in context with path [/FusionCharts] threw exception [java. lang. noClassDefFoundError: org/apache/jsp/Container_jsp (wrong name: org/apache/jsp/container_jsp)] with root causejava. lang. noClassDefFoundError: org/apache/jsp/Container_jsp (wrong name: org/apache/jsp/container_jsp) at java. lang. classLoader. defineClass1 (Native Method) at java. lang. classLoader. defineClass (ClassLoader. java: 800) at java. security. secureClassLoader. defineClass (SecureClassLoader. java: 142) at java.net. URLClassLoader. defineClass (URLClassLoader. java: 449) at java.net. URLClassLoader. accesskey $100 (URLClassLoader. java: 71) at java.net. URLClassLoader $ 1.run( URLClassLoader. java: 361) at java.net. URLClassLoader $ 1.run( URLClassLoader. java: 355) at java. security. accessController. doPrivileged (Native Method) at java.net. URLClassLoader. findClass (URLClassLoader. java: 354) at org. apache. jasper. servlet. jasperLoader. loadClass (JasperLoader. java: 132) at org. apache. jasper. servlet. jasperLoader. loadClass (JasperLoader. java: 63) at org. apache. catalina. core. defaultInstanceManager. newInstance (defainstinstancemanager. java: 139) at org. apache. jasper. servlet. jspServletWrapper. getServlet (JspServletWrapper. java: 172) at org. apache. jasper. servlet. jspServletWrapper. service (JspServletWrapper. java: 369) at org. apache. jasper. servlet. jspServlet. serviceJspFile (JspServlet. java: 390) at org. apache. jasper. servlet. jspServlet. service (JspServlet. java: 334) at javax. servlet. http. httpServlet. service (HttpServlet. java: 722) at org. apache. catalina. core. applicationFilterChain. internalDoFilter (ApplicationFilterChain. java: 305) at org. apache. catalina. core. applicationFilterChain. doFilter (ApplicationFilterChain. java: 210) at org. apache. catalina. core. standardWrapperValve. invoke (StandardWrapperValve. java: 222) at org. apache. catalina. core. standardContextValve. invoke (StandardContextValve. java: 123) at org. apache. catalina. authenticator. authenticatorBase. invoke (AuthenticatorBase. java: 472) at org. apache. catalina. core. standardHostValve. invoke (StandardHostValve. java: 168) at org. apache. catalina. valves. errorReportValve. invoke (ErrorReportValve. java: 99) at org. apache. catalina. valves. accessLogValve. invoke (AccessLogValve. java: 929) at org. apache. catalina. core. standardEngineValve. invoke (StandardEngineValve. java: 118) at org. apache. catalina. connector. coyoteAdapter. service (CoyoteAdapter. java: 407) at org. apache. coyote. http11.20.acthttp11processor. process (AbstractHttp11Processor. java: 1002) at org. apache. coyote. abstractProtocol $ AbstractConnectionHandler. process (AbstractProtocol. java: 585) at org.apache.tomcat.util.net. aprEndpoint $ SocketProcessor. run (AprEndpoint. java: 1813) at java. util. concurrent. threadPoolExecutor. runWorker (ThreadPoolExecutor. java: 1145) at java. util. concurrent. threadPoolExecutor $ Worker. run (ThreadPoolExecutor. java: 615) at java. lang. thread. run (Thread. java: 744)

2. Error cause

Because "container. jsp" is renamed to "Container. jsp", but the server is not restartedContainer. jsp not compiled, error


3. Solution

Restart Tomcat and run it again.


Jsp500 Error

Didn't you republish it?

JavalangNoClassDefFoundError: WebClass/Student (wrong name: Student)

There is no class definition. According to the prompt, You can roughly consider it as follows:
1. The package name is incorrect.
2. The JDK version is incorrect, or the compiled version and runtime are different.
3. The package is not released to WEB-INF/lib. Or the class file of the class is not put under the package path under the WEB-INF/classes.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.