
프로젝트 모듈은 모두 java17로 설정해 두었는데 위와 같은 에러가 발생했다.

확인 1

확인 2

file -> settings -> build tools -> gradle 을 확인하니
gradle jvm은 아직도 java11로 되어 있었다.

gradle jvm을 java17로 설정해주니
위의 에러는 더이상 발생하지 않는다 .
'other' 카테고리의 다른 글
| [other] springboot intellij에서 테스트 디렉터리 설정하기 (0) | 2024.12.13 |
|---|---|
| [other] gradle - "Unsupported class file major version 65" (1) | 2024.12.01 |
| [other] 윈도우에 gradle 설치하기 (0) | 2024.12.01 |
| [other] ruby로 sass 설치하기 (0) | 2024.11.26 |
| [other] 윈도우 cmd에서 드라이브 이동하기 (0) | 2024.11.12 |