본문 바로가기

개발로그/Eclipse

Eclipse Tomcat 실행 오류

-Djava.endorsed.dirs=/Users/Home/apache-tomcat-9.0.39/endorsed is not supported. Endorsed standards and standalone APIs
in modular form will be supported via the concept of upgradeable modules.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

원래 자바 jdk 1.8로 구동되었는데

어디선가 Amazon Java 11 버전이 깔려서 Tomcat과 호환이 안되는 문제였던거 같다.

 

Eclipse > Preferences > Java > Installed JREs 를 보면 Amazon 어쩌구가 보임

이게 어디서 깔린지 모르겠다

R studio에서 자바 뭐시기를 설치했던거 같은데 거기서 깔린거 같기도..

무튼 JDK1.8로 경로 지정

/Library/Java/JavaVirtualMachines/jdk1.8.0_261.jdk/Contents/Home

 

기존에 자바 프로젝트에도 Java Build Path에 Add Library 해서 위의 경로 추가..

하면 정상 작동됨 ㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠ

'개발로그 > Eclipse' 카테고리의 다른 글

Eclipse Tomcat 실행 오류  (0) 2020.10.19