본문 바로가기
기록/Java&Spring&Eclipse

[Java/Eclipse/Spring] 자바 버젼 업그레이드 시 오류 ASM ClassReader failed to parse class file

by 자임 2022. 6. 2.

JDK1.7 -> JDK1.8 업그레이드

Spring 버젼 3.2.3.RELEASE

 

 

오류 메시지 : ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet

 

원인 : 스프링 버젼이 낮아 1.8 버젼의 클래스 파일을 파싱해주지 못함.

 

해결방법 : 스프링 버젼을 4.x로 업그레이드

 

if you want run your code with Java 8, you need to use a recent Spring 4.0 version.

https://stackoverflow.com/questions/22730801/java-se-spring-data-hibernate/30204461#30204461

 

Java SE + Spring Data + Hibernate

I am trying to start a Java SE application with Spring Data + Hibernate and have done the follwowing till now: Configuration File @Configuration @PropertySource("classpath:hibernate.properties") @

stackoverflow.com

 

https://stackoverflow.com/questions/22526695/java-1-8-asm-classreader-failed-to-parse-class-file-probably-due-to-a-new-java

 

Java 1.8 ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet

My web application runs fine on JDK 1.7 but crashes on 1.8 with the following exception (during application server startup with Jetty 8). I am using Spring version: 3.2.5.RELEASE. Exception: org.

stackoverflow.com