[IntelliJ] Package 'java.lang' is declared in module 'java.base', which is not in the module graph

szlee·2022년 7월 11일
0

에러해결

목록 보기
2/3

Package 'java.lang' is declared in module 'java.base', which is not in the module graph

IntelliJ 에서 위와 같은 에러가 발생했을 때는,

IntelliJ의 File -> Repair IDE 메뉴 선택하면 한 단계마다 선택하는게 나온다.
이 때 선택지가 둘 중 하나인데 everything works now 를 제외한 나머지 선택지들로 다 선택해보고 재시작하면 해결된다.

profile
🌱

0개의 댓글