Backend/꾸준히 TIL

Trouble Shooting - InteliJ

개발하는 후딘 2022. 4. 24. 23:55
728x90
반응형

[ Error ]

Caused by: org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet:

 

file [/Users/ek/IdeaProjects/todo-list/build/classes/java/main/org/example/Main.class]; nested exception is java.lang.IllegalArgumentException: Unsupported class file major version 62

 

[ My solution ] 

1. 아래링크 에서 OS 사양에 맞게 JDK 11 설치 

https://www.oracle.com/java/technologies/javase/jdk11-archive-downloads.html

 

2. Preferences (cmd  ,   )  > Build, Execution, Deployment > Build Tools > Gradle 에서 JVM 을 11로 변경

 

3. Preferences > Build, Exception, Deployment > Compiler 에서 Project bytecode version 을 11로 변경

 

[ References ]

 

[Android] Unsupported class file major version 에러

Android Gradle & jdk Error

velog.io

 

728x90
반응형