미들웨어/Middleware_문제해결

class file has wrong version 50.0, should be 49.0

_주야 2013. 7. 23. 15:43



오류 내용

class file has wrong version 50.0, should be 49.0

Please remove or make sure it appears in the correct subdirectory of the classpath.


원인

컴파일된 자바 버전이 50.0 (1.6)으로 빌드가 되어 있는데,  실행한 환경은 49.0 (1.5)


해결 방법

서버 자바 버전을 바꾸는 것은 영향도가 있으므로, 컴파일은 1.5 버전으로 recompile 후 재 배포

'미들웨어 > Middleware_문제해결' 카테고리의 다른 글

자주 발생되는 예외 클래스  (0) 2012.05.02
ClassLoding Error  (0) 2012.01.10
WebSphere struts2의 URL Rewrite Filter 설정  (0) 2011.11.18