개인적인 정리

Unsupported major.minor version 52.0 (unable to load class egovframework.com.uat.uap.filter.EgovLoginPolicyFilter) 본문

전자정부표준프레임워크/Exception 및 Error

Unsupported major.minor version 52.0 (unable to load class egovframework.com.uat.uap.filter.EgovLoginPolicyFilter)

yeon.Biju 2018. 1. 27. 21:15

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

Caused by: java.lang.UnsupportedClassVersionError: egovframework/com/uat/uap/filter/EgovLoginPolicyFilter : Unsupported major.minor version 52.0 (unable to load class egovframework.com.uat.uap.filter.EgovLoginPolicyFilter)

at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2950)

at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1177)

at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1665)

at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1544)

at org.apache.catalina.startup.WebAnnotationSet.loadClassAnnotation(WebAnnotationSet.java:145)

at org.apache.catalina.startup.WebAnnotationSet.loadApplicationFilterAnnotations(WebAnnotationSet.java:84)

at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:57)

at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:294)

at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1047)

at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:265)

at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)

at org.apache.catalina.core.StandardContext.start(StandardContext.java:4686)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)

at org.apache.catalina.core.StandardService.start(StandardService.java:525)

at org.apache.catalina.core.StandardServer.start(StandardServer.java:761)

at org.apache.catalina.startup.Catalina.start(Catalina.java:595)

... 6 more

 

 

 

 

 

 

 

jdk 1.8 로 셋팅해야 하는데

jdk 1.7 로 이클립스를 셋팅해서 난 듯 하다.

 

jdk 1.8 을 설치하고

프로젝트에서 build를 1.8 로 하도록 하니까.. 에러가 없다.

 

그 과정에서 몇가지 변경을 했으나 중요 포인트는 1.7을 1.8로 변경한 후에 해당 프로젝트를 1.8로 build가 되도록 조치한 것이다.

Comments