Web page Run Error: HTTP Status 500-handler processing failed; Nested exception is Java.lang.noclassdeffounderror:javax/servlet/jsp/jstl/core/config
type Exception Report
message Handler processing failed; nested exception is Java.lang.noclassdeffounderror:javax/servlet/jsp/jstl/core/config
Description The server encountered an internal error, prevented it from fulfilling this request.
exception
Org.springframework.web.util.NestedServletException:Handler processing failed; Nested exception is java.lang.noclassdeffounderror:javax/servlet/jsp/jstl/core/ Configorg.springframework.web.servlet.DispatcherServlet.doDispatch (dispatcherservlet.java:986) Org.springframework.web.servlet.DispatcherServlet.doService (dispatcherservlet.java:897) Org.springframework.web.servlet.FrameworkServlet.processRequest (frameworkservlet.java:970) Org.springframework.web.servlet.FrameworkServlet.doGet (frameworkservlet.java:861) Javax.servlet.http.HttpServlet.service (httpservlet.java:622) Org.springframework.web.servlet.FrameworkServlet.service (frameworkservlet.java:846) Javax.servlet.http.HttpServlet.service (httpservlet.java:729) Org.apache.tomcat.websocket.server.WsFilter.doFilter (wsfilter.java:52)
Root cause
Java.lang.noclassdeffounderror:javax/servlet/jsp/jstl/core/ Configorg.springframework.web.servlet.support.JstlUtils.exposeLocalizationContext (jstlutils.java:101) Org.springframework.web.servlet.view.JstlView.exposeHelpers (jstlview.java:135) Org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel (Internalresourceview.java : 142) Org.springframework.web.servlet.view.AbstractView.render (abstractview.java:303) Org.springframework.web.servlet.DispatcherServlet.render (dispatcherservlet.java:1257) Org.springframework.web.servlet.DispatcherServlet.processDispatchResult (dispatcherservlet.java:1037) Org.springframework.web.servlet.DispatcherServlet.doDispatch (dispatcherservlet.java:980) Org.springframework.web.servlet.DispatcherServlet.doService (dispatcherservlet.java:897) Org.springframework.web.servlet.FrameworkServlet.processRequest (frameworkservlet.java:970) Org.springframework.web.servlet.FrameworkServlet.doGet (frameworkservlet.java:861) Javax.servlet.http.HttpServlet.service (httpservlet.java:622) Org.springframework.web.servlet.FrameworkServlet.service (frameworkservlet.java:846) Javax.servlet.http.HttpServlet.service (httpservlet.java:729) Org.apache.tomcat.websocket.server.WsFilter.doFilter (wsfilter.java:52)
root cause
Java.lang.ClassNotFoundException: Javax.servlet.jsp.jstl.core.Configorg.apache.catalina.loader.WebappClassLoaderBase.loadClass ( webappclassloaderbase.java:1333) Org.apache.catalina.loader.WebappClassLoaderBase.loadClass ( webappclassloaderbase.java:1167) Org.springframework.web.servlet.support.JstlUtils.exposeLocalizationContext ( jstlutils.java:101) org.springframework.web.servlet.view.JstlView.exposeHelpers (jstlview.java:135) Org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel (Internalresourceview.java : 142) Org.springframework.web.servlet.view.AbstractView.render (abstractview.java:303) Org.springframework.web.servlet.DispatcherServlet.render (dispatcherservlet.java:1257) Org.springframework.web.servlet.DispatcherServlet.processDispatchResult (dispatcherservlet.java:1037) Org.springframework.web.servlet.DispatcherServlet.doDispatch (dispatcherservlet.java:980) Org.springframework.web.servlet.DispatcherServlet.doService (dispatcherservlet.java:897) org.springframework.web.seRvlet. Frameworkservlet.processrequest (frameworkservlet.java:970) Org.springframework.web.servlet.FrameworkServlet.doGet (frameworkservlet.java:861) Javax.servlet.http.HttpServlet.service (httpservlet.java:622) Org.springframework.web.servlet.FrameworkServlet.service (frameworkservlet.java:846) Javax.servlet.http.HttpServlet.service (httpservlet.java:729) Org.apache.tomcat.websocket.server.WsFilter.doFilter (wsfilter.java:52)
Note The full stack trace of the root cause are available in the Apache tomcat/8.0.37 logs.
Apache tomcat/8.0.37
Background code:
D:\TutorialSummary\java\server\apache-tomcat-8.0.37-windows-x64\apache-tomcat-8.0.37\bin\catalina.bat Run
[2016-12-27 01:35:35,443] Artifact Springmvcthree:war Exploded:server is not connected. Deploy is not available.
Using catalina_base: "C:\Users\19644\. Intellijidea2016.3\system\tomcat\unnamed_springmvcthree "
Using catalina_home: "D:\TutorialSummary\java\server\apache-tomcat-8.0.37-windows-x64\apache-tomcat-8.0.37"
Using catalina_tmpdir: "D:\TutorialSummary\java\server\apache-tomcat-8.0.37-windows-x64\apache-tomcat-8.0.37\ Temp
Using jre_home: "C:\Program files\java\jdk1.8.0_102\jre"
Using CLASSPATH: "D:\TutorialSummary\java\server\apache-tomcat-8.0.37-windows-x64\apache-tomcat-8.0.37\bin\ Bootstrap.jar;d:\tutorialsummary\java\server\apache-tomcat-8.0.37-windows-x64\apache-tomcat-8.0.37\bin\ Tomcat-juli.jar "
2016-12-27 01:35:41 jrebel:contacting Myjrebel server:
Exception in Thread "AsyncFileHandlerWriter-1872034366" 27-dec-2016 01:35:47.635 INFO [main] Org.apache.catalina.startup.VersionLoggerListener.log Server Version:apache tomcat/8.0.37
27-dec-2016 01:35:47.641 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server BUILT:SEP 1 2016 10:01:52 UTC
Java.lang.nosuchmethoderror:org.apache.juli.asyncfilehandler._jr$ig$closed (ljava/lang/object;) Z
At Org.apache.juli.asyncfilehandler$logentry.flush (asyncfilehandler.java:166)
At Org.apache.juli.asyncfilehandler$loggerthread.run (asyncfilehandler.java:146)
27-dec-2016 01:35:47.643 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:8.0.37.0
27-dec-2016 01:35:47.644 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS name:windows 10
27-dec-2016 01:35:47.644 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS version:10.0
27-dec-2016 01:35:47.645 INFO [main] Org.apache.catalina.startup.VersionLoggerListener.log ARCHITECTURE:AMD64
27-dec-2016 01:35:47.646 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java home:c:\program Files \java\jdk1.8.0_102\jre
27-dec-2016 01:35:47.651 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM version:1.8.0_102-b14
27-dec-2016 01:35:47.652 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM vendor:oracle Corporation
27-dec-2016 01:35:47.653 INFO [main] Org.apache.catalina.startup.VersionLoggerListener.log catalina_base:c:\users\ 19644\. Intellijidea2016.3\system\tomcat\unnamed_springmvcthree
27-dec-2016 01:35:47.653 INFO [main] Org.apache.catalina.startup.VersionLoggerListener.log catalina_home:d:\ tutorialsummary\java\server\apache-tomcat-8.0.37-windows-x64\apache-tomcat-8.0.37
27-dec-2016 01:35:47.654 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument:- Drebel.base=c:\users\19644\.jrebel
27-dec-2016 01:35:47.655 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument:- drebel.env.ide.plugin.version=7.0.1
27-dec-2016 01:35:47.656 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument:- drebel.env.ide.version=2016.3.1
27-dec-2016 01:35:47.657 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument:- Drebel.env.ide.product=iu
27-dec-2016 01:35:47.657 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument:- Drebel.env.ide=intellij
27-dec-2016 01:35:47.658 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument:- drebel.notification.url=http://localhost:13852
27-dec-2016 01:35:47.658 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument:- Agentpath:c:\users\19644\. Intellijidea2016.3\config\plugins\jr-ide-idea\lib\jrebel6\lib\jrebel64.dll
27-dec-2016 01:35:47.659 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument:- Dcom.sun.management.jmxremote=
27-dec-2016 01:35:47.659 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument:- dcom.sun.management.jmxremote.port=1099
27-dec-2016 01:35:47.660 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument:- Dcom.sun.management.jmxremote.ssl=false
27-dec-2016 01:35:47.660 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument:- Dcom.sun.management.jmxremote.authenticate=false
27-dec-2016 01:35:47.661 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument:- djava.rmi.server.hostname=127.0.0.1
27-dec-2016 01:35:47.662 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument:- djdk.tls.ephemeraldhkeysize=2048
27-dec-2016 01:35:47.663 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument:- Djava.util.logging.config.file=c:\users\19644\. Intellijidea2016.3\system\tomcat\unnamed_springmvcthree\conf\logging.properties
27-dec-2016 01:35:47.664 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument:- Djava.util.logging.manager=org.apache.juli.classloaderlogmanager
27-dec-2016 01:35:47.665 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument:- Djava.endorsed.dirs=d:\tutorialsummary\java\server\apache-tomcat-8.0.37-windows-x64\apache-tomcat-8.0.37\ Endorsed
27-dec-2016 01:35:47.666 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument:- Dcatalina.base=c:\users\19644\. Intellijidea2016.3\system\tomcat\unnamed_springmvcthree
27-dec-2016 01:35:47.666 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument:- dcatalina.home=d:\tutorialsummary\java\server\apache-tomcat-8.0.37-windows-x64\apache-tomcat-8.0.37
27-dec-2016 01:35:47.667 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument:- Djava.io.tmpdir=d:\tutorialsummary\java\server\apache-tomcat-8.0.37-windows-x64\apache-tomcat-8.0.37\temp
27-dec-2016 01:35:47.667 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native Library 1.2.8 using APR version 1.5.2.
27-dec-2016 01:35:47.668 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [True], sendfile [true], accept filters [FALSE], random [true].
27-dec-2016 01:35:48.896 INFO [main] Org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL Successfully initialized (OpenSSL 1.0.2h 3 May 2016)
27-dec-2016 01:35:49.362 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing Protocolhandler [" http-apr-8080 "]
27-dec-2016 01:35:49.423 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing Protocolhandler [" ajp-apr-8009 "]
27-dec-2016 01:35:49.429 INFO [main] org.apache.catalina.startup.Catalina.load initialization processed in 5223 MS
27-dec-2016 01:35:49.547 INFO [main] org.apache.catalina.core.StandardService.startInternal starting service Catalina
27-dec-2016 01:35:49.547 INFO [main] org.apache.catalina.core.StandardEngine.startInternal starting Servlet Engine: Apache tomcat/8.0.37
27-dec-2016 01:35:49.583 INFO [main] Org.apache.coyote.AbstractProtocol.start starting Protocolhandler [" http-apr-8080 "]
27-dec-2016 01:35:49.641 INFO [main] Org.apache.coyote.AbstractProtocol.start starting Protocolhandler ["ajp-apr-8009 "]
27-dec-2016 01:35:49.667 INFO [main] Org.apache.catalina.startup.Catalina.start Server startup in 238 ms
[2016-12-27 01:35:49,909] Artifact Springmvcthree:war Exploded:artifact is being deployed, please wait ...
Connected to Server
27-dec-2016 01:35:59.598 INFO [localhost-startstop-1] Org.apache.catalina.startup.HostConfig.deployDirectory Deploying Web application Directory D:\TutorialSummary\java\server\apache-tomcat-8.0.37-windows-x64\ Apache-tomcat-8.0.37\webapps\manager
27-dec-2016 01:36:01.110 INFO [localhost-startstop-1] Org.apache.catalina.startup.HostConfig.deployDirectory Deployment of Web application directory D:\TutorialSummary\java\server\apache-tomcat-8.0.37-windows-x64\ Apache-tomcat-8.0.37\webapps\manager have finished in 1,512 ms
27-dec-2016 01:36:04.804 INFO [RMI TCP Connection (4) -127.0.0.1] Org.apache.jasper.servlet.TldScanner.scanJars at least One JAR is scanned for TLDs yet contained no TLDs. Enable debug logging for the logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
27-dec-2016 01:36:05.032 INFO [RMI TCP Connection (4) -127.0.0.1] Org.springframework.web.context.ContextLoader.initWebApplicationContext Root Webapplicationcontext: Initialization started
27-dec-2016 01:36:06.380 INFO [RMI TCP Connection (4) -127.0.0.1] Org.springframework.web.context.support.XmlWebApplicationContext.prepareRefresh refreshing Root Webapplicationcontext:startup Date [Tue Dec 01:36:06 CST 2016]; Root of context Hierarchy
2016-12-27 01:36:08 jrebel:monitoring Spring bean definitions in ' D:\File\Java\IDEA\SpringMVC\springmvcthree\out\ Artifacts\springmvcthree_war_exploded\web-inf\applicationcontext.xml '.
27-dec-2016 01:36:08.351 INFO [RMI TCP Connection (4) -127.0.0.1] org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions Loading XML Bean definitions from ServletContext resource [/web-inf/applicationcontext.xml]
27-dec-2016 01:36:12.988 INFO [RMI TCP Connection (4) -127.0.0.1] Org.springframework.web.context.ContextLoader.initWebApplicationContext Root Webapplicationcontext: Initialization completed in 7955 MS
27-dec-2016 01:36:13.113 INFO [RMI TCP Connection (4) -127.0.0.1] Org.springframework.web.servlet.DispatcherServlet.initServletBean frameworkservlet ' Dispatcher ': initialization Started
27-dec-2016 01:36:13.137 INFO [RMI TCP Connection (4) -127.0.0.1] Org.springframework.web.context.support.XmlWebApplicationContext.prepareRefresh refreshing Webapplicationcontext For namespace ' Dispatcher-servlet ': startup date [Tue Dec 01:36:13 CST 2016]; Parent:root Webapplicationcontext
2016-12-27 01:36:13 jrebel:monitoring Spring bean definitions in ' D:\File\Java\IDEA\SpringMVC\springmvcthree\out\ Artifacts\springmvcthree_war_exploded\web-inf\dispatcher-servlet.xml '.
27-dec-2016 01:36:13.157 INFO [RMI TCP Connection (4) -127.0.0.1] org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions Loading XML Bean definitions from ServletContext resource [/web-inf/dispatcher-servlet.xml]
27-dec-2016 01:36:14.667 INFO [RMI TCP Connection (4) -127.0.0.1] Org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping.registerHandler Mapped URL Path [/ Hi/hello] onto handler ' HelloWorld '
27-dec-2016 01:36:14.669 INFO [RMI TCP Connection (4) -127.0.0.1] Org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping.registerHandler Mapped URL Path [/ Hi/hello.*] onto handler ' HelloWorld '
27-dec-2016 01:36:14.671 INFO [RMI TCP Connection (4) -127.0.0.1] Org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping.registerHandler Mapped URL Path [/ hi/hello/] onto handler ' HelloWorld '
27-dec-2016 01:36:15.755 INFO [RMI TCP Connection (4) -127.0.0.1] Org.springframework.web.servlet.DispatcherServlet.initServletBean frameworkservlet ' Dispatcher ': initialization Completed in 2642 MS
[2016-12-27 01:36:15,889] Artifact Springmvcthree:war Exploded:artifact is deployed successfully
[2016-12-27 01:36:15,890] Artifact Springmvcthree:war Exploded:deploy took 25,981 milliseconds
Hello world!
2016-12-27 01:36:39 jrebel:starting Logging to File:c:\users\19644\.jrebel\jrebel.log
2016-12-27 01:36:39 JRebel:
2016-12-27 01:36:39 JRebel: #############################################################
2016-12-27 01:36:39 JRebel:
2016-12-27 01:36:39 Jrebel:jrebel Agent 7.0.1 (201612011351)
2016-12-27 01:36:39 JRebel: (c) Copyright Zeroturnaround as, Estonia, Tartu.
2016-12-27 01:36:39 JRebel:
2016-12-27 01:36:39 Jrebel:over The last 1 days JRebel prevented
2016-12-27 01:36:39 Jrebel:at least 0 redeploys/restarts saving you about 0 hours.
2016-12-27 01:36:39 JRebel:
2016-12-27 01:36:39 jrebel:licensed to Zky Zky (using Myjrebel).
2016-12-27 01:36:39 JRebel:
2016-12-27 01:36:39 JRebel:
2016-12-27 01:36:39 JRebel: #############################################################
2016-12-27 01:36:39 JRebel:
Solution: From error message Handler processing failed; Nested exception is java.lang.noclassdeffounderror:javax/servlet/jsp/jstl/core/config know that this is caused by a missing jar package. Add two jar packages for jstl. Just fine, one is Jstl-1.2.jar and the other is Standard-1.1.2.jar.
After you add both packages, recompile the run. Error hours, the project will function properly.
Idea New SPRINGMVC Project error solution