[ Tip ]
Exception in thread "main" java.lang.UnsupportedClassVersionError:
com/example/demo/SpringSchedulerApplication has been compiled by
a more recent version of the Java Runtime(class file version 61.0)
, this version of the Java Runtime only recognizes class file versions up to 52.0
위와 같은 에러가 발생하는 경우
아래를 표를 보고 JDK버전을 class file이 요구하는 버전으로 맞춰주면 된다
Class File Versions | |
JDK Version | ByteCode Version |
Java 1.0 | 45.0 |
Java 1.1 | 45.3 |
Java 1.2 | 46.0 |
Java 1.3 | 47.0 |
Java 1.4 | 48.0 |
Java 5 | 49.0 |
Java 6 | 50.0 |
Java 7 | 51.0 |
Java 8 | 52.0 |
Java 9 | 53.0 |
Java 10 | 54.0 |
Java 11 | 55.0 |
Java 12 | 56.0 |
Java 13 | 57.0 |
Java 14 | 58.0 |
Java 15 | 59.0 |
Java 16 | 60.0 |
Java 17 | 61.0 |
Java 18 | 62.0 |
Java 19 | 63.0 |
Java 20 | 64.0 |
Java 21 | 65.0 |
728x90
반응형
'Dev_Info' 카테고리의 다른 글
[MS-SQL] Microsoft SQL Server Versions List (0) | 2023.02.28 |
---|---|
JDK Version과 지원되는 Gradle Version (0) | 2023.01.04 |
[Python] 2.Flask? (0) | 2021.08.30 |
[Python] 1.Django? (0) | 2021.08.30 |
Docker (0) | 2021.03.25 |