java.lang.NoSuchFieldError: PATCH
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:808)
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.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
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:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
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.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
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:724)
위와같이 NoSuchFielError가 발생하면 첫번째줄 빨간색 부분을 잘 봐야한다.
에러의 원인은 spring-web.-3.1.1.jar, spring-web-3.2.6.jar 두 파일을 라이브러리에 중복으로 넣어놓으니 발생한 에러였다.
spring-web.-3.1.1.jar를 삭제하니 해결됐다.
java.lang.NoSuchFieldError 에러면 에러 첫번째줄에 해당하는 jar가 중복이 아닌지 확인해야한다. 물론 다른이유도 있을수 있겠지만....
'초보프로그래머만..' 카테고리의 다른 글
[오라클] 숫자만 or 문자만 검색 (1) | 2014.08.12 |
---|---|
[이클립스]requested array size exceeds vm limit 에러 (1) | 2014.02.28 |
[오라클]pk명,index명,파티션명 확인하기 (0) | 2012.07.16 |
자바에서 channelSftp로 sftp 연결,연결끊기 (0) | 2011.11.24 |
[오라클] RANK OVER PARTITION BY (0) | 2011.11.08 |