728x90
Intellij에서 spring web으로 프로젝트 만들고 빌드를 하려 했는데 오류가 났다.
오류 내용은
could not resolve all files for configuration ':classpath'
could not resolve org.springframework.boot:spring-boot-gradle-plugin:3.0.5.
incompatible because this component declares an api of a component compatible with java 17
자바 버전이 17이여야 하는데 안맞다는 오류
확인 결과 자바 버전이 11이다.
제어판에 들어가서 모두 삭제를 해주고
공식 홈페이지 들어가서 해당하는 OS 맞게 설치해주었다.
설치완료
'개인 기록' 카테고리의 다른 글
Intellij gradle 버전 변경 및 경로 설정 (0) | 2023.03.30 |
---|---|
메서드, 생성자, 객체, 클래스, 인스턴스 (0) | 2023.03.15 |
네트워크 정리할 것 (0) | 2023.02.21 |
Linux 명령어 (0) | 2023.02.20 |
Maven 설치 환경변수 설정 (0) | 2023.02.15 |
댓글