Handler processing failed; nested exception is java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config解决

出现这个问题往往伴随  HTTP-500错误

报错信息:

HTTP Status  - 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 that 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/Config
org.springframework.web.servlet.DispatcherServlet.triggerAfterCompletionWithError(DispatcherServlet.java:)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:)
javax.servlet.http.HttpServlet.service(HttpServlet.java:)
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:)
javax.servlet.http.HttpServlet.service(HttpServlet.java:)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:) root cause
java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config
org.springframework.web.servlet.support.JstlUtils.exposeLocalizationContext(JstlUtils.java:)
org.springframework.web.servlet.view.JstlView.exposeHelpers(JstlView.java:)
org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:)
org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:)
org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:)
org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:)
javax.servlet.http.HttpServlet.service(HttpServlet.java:)
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:)
javax.servlet.http.HttpServlet.service(HttpServlet.java:)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:)

通过错误信息,是没有找到对应的java class

jstl(jsp标准标签库)

后通过添加jstl的相关jar包至WEB-INF/lib下得以解决。

上一篇:Cocos2d-android (02) 添加一个精灵对象


下一篇:ASP.NET Core介绍