-
Eclipse) 다른 프로젝트를 import하며 발생한 에러카테고리 없음 2022. 2. 25. 21:49
다음과 같은 여러줄의 에러가 떴다.
단 2가지의 문제만 해결하면 된다.
아래 빨간 한 줄은 가장 위에 있었으나 캡쳐 당시 해결되어 삭제됨 1.
Warning: the fonts "Times" and "Times" are not available for the Java logical font "Serif", which may have unexpected appearance or behavior. Re-enable the "Times" font to remove this warning.
2.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by lombok.installer.AppleNativeLook to method com.apple.eawt.Application.getApplication()
WARNING: Please consider reporting this to the maintainers of lombok.installer.AppleNativeLook
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
하나씩 어떻게 에러를 해결하는지 알아보도록 하자.
1. Warning: the fonts "Times" and "Times" are not available for the Java logical font "Serif", which may have unexpected appearance or behavior. Re-enable the "Times" font to remove this warning.
: 맥에 Times 라는 서체가 없어서 발생한 문제이다.
https://www.freebestfonts.com/timr45w-font
Times free font
© 2022 - Best Free Fonts - Best Fonts
www.freebestfonts.com
해당 사이트에서 다운 받고 '서체 설치'를 누르면 해결된다.
2. WARNING: An illegal reflective access operation has occurred...
2번부터의 6줄은, 자바의 버전이 달라서 발생한 문제였다. 자바8로 만들어진 프로젝트를 무려 13을.. 으로 돌리고 있었다.
homebrew가 설치된 맥 유저라면 Terminal에서 1, 3번째 줄을 치면 된다.
참고 :
https://tlo-developer.tistory.com/267
Open JDK 1.8 설치 / 환경설정 - 맥(Mac) 환경
[ 자바(Java) ] Open JDK 1.8 설치 / 환경설정 - 맥(Mac) 환경 맥 (Mac) 환경에서의 Open JDK 1.7 설치 및 환경설정 << 환경설정 >> MacBook Pro M1 jdk 1.8.0_292 << 다운로드 / 설치 >> Homebrew 사..
tlo-developer.tistory.com
그 이후에는 Eclipse에서
Preferences 에서
Java - Installled JREs - Search.. 에 들어가면 자동으로 1.8 폴더가 보이고,
그 폴더를 안으로 들어가지 않고 Open을 누르면 된다.
나와서는 Apply로 적용시킨 후 닫는다.