오류내용
Uncaught error from thread [application-akka.actor.default-dispatcher-10]:
controllers/routes has been compiled by a more recent version of the Java Runtime
(class file version 55.0), this version of the Java Runtime only recognizes
class file versions up to 52.0, shutting down JVM since
'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[application]
java.lang.UnsupportedClassVersionError:
controllers/routes has been compiled by a more recent version of the Java Runtime
(class file version 55.0), this version of the Java Runtime only recognizes class file
versions up to 52.0
해당 구문이 핵심으로 보인다.
java.lang.UnsupportedClassVersionError : controllers/routes has been compiled by a more recent version of the Java Runtime (class file version 55.0),
this version of the Java Runtime only recognizes class file versions up to 52.0
서버에 java 가 두가지 버전으로 설치되어 있으며
default java 가 jdk 1.8.0_271 이였다.
아래 버전표를 보면 해당 버전은 52 버전으로 55 버전부터 지원된다는 내용이였다.
OpenJDK 11 을 설치하고 java_path 를 잡아주니 해결되었다.
Java SE 17 = 61 (0x3D hex),
Java SE 16 = 60 (0x3C hex),
Java SE 15 = 59 (0x3B hex),
Java SE 14 = 58 (0x3A hex),
Java SE 13 = 57 (0x39 hex),
Java SE 12 = 56 (0x38 hex),
Java SE 11 = 55 (0x37 hex),
Java SE 10 = 54 (0x36 hex),[3]
Java SE 9 = 53 (0x35 hex),[4]
Java SE 8 = 52 (0x34 hex),
Java SE 7 = 51 (0x33 hex),
Java SE 6.0 = 50 (0x32 hex),
Java SE 5.0 = 49 (0x31 hex),
JDK 1.4 = 48 (0x30 hex),
JDK 1.3 = 47 (0x2F hex),
JDK 1.2 = 46 (0x2E hex),
JDK 1.1 = 45 (0x2D hex).
출처 : en.wikipedia.org/wiki/Java_class_file
'Error Review' 카테고리의 다른 글
sudo: pip3.7: command not found 해결방법 (0) | 2021.03.25 |
---|---|
python:3.7.10-alpine Failed building wheel for pycryptodome (0) | 2021.03.24 |
Kafka-Manager (CMAK) compile error ./sbt clean dist (0) | 2020.04.28 |
Docker-Compose Service 'kafka' failed to build (wurstmeister) (0) | 2020.04.23 |
CentOS 8 Jupyter Notebook Error Python 3.7 (No module named '_sqlite3', 'pysqlite2') (0) | 2020.03.19 |
최근댓글