-
java.lang.NoClassDefFoundError: javax/servlet/ServletRequest 에러 해결Legacy/문제해결 2016. 1. 24. 01:49728x90
HTTP Status 500 - Handler processing failed; nested exception is java.lang.NoClassDefFoundError: javax/servlet/ServletRequest
type Exception report
message Handler processing failed; nested exception is java.lang.NoClassDefFoundError: javax/servlet/ServletRequest
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/ServletRequest org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:972) org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778) javax.servlet.http.HttpServlet.service(HttpServlet.java:622) 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/ServletRequest javax.servlet.jsp.jstl.core.Config.set(Config.java:222) org.springframework.web.servlet.support.JstlUtils.exposeLocalizationContext(JstlUtils.java:97) org.springframework.web.servlet.view.JstlView.exposeHelpers(JstlView.java:135) org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:211) org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:262) org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1180) org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:950) org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778) javax.servlet.http.HttpServlet.service(HttpServlet.java:622) 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 is available in the Apache Tomcat/8.0.28 logs.
1. 아파치 재설치
2. JDK 재설치
1번을 했을 때는 문제가 해결되지 않았습니다.
2번을 하니 문제가 해결되었습니다.
'Legacy > 문제해결' 카테고리의 다른 글
[Windows 7] 인터넷 보안 설정으로 인해 하나 이상의 파일을 열 수 없습니다. (0) 2019.03.19 [Node.js] mysql query error (0) 2017.01.15 [Spring] Current request is not of type [org.springframework.web.multipart.MultipartHttpServletRequest]: (0) 2016.11.06 마우스 상하좌우가 반대로 움직임. (3) 2016.07.06 ERROR 1054 (42S22): Unknown column 'password' in 'field list' (1) 2016.05.07 [Windows] 올바른 응용프로그램이 아닙니다. (0) 2015.12.07 [JSP] 파일 다운로드 구현 - java.lang.IllegalStateException: getOutputStream() (1) 2015.12.07 [Spring Security]<sec:authorize access="isAnonymous()"> 적용시 HTTP 500 에러가 뜨는 경우 (1) 2015.11.19 [VM] Not enough physical memory ... 에러 해결법 (1) 2015.09.03 [Web] 웹 페이지 한글 깨짐 (1) 2015.08.27