개발일기
IntelliJ Spring Boot 3.x버전 실행이 안되는 경우 본문
proxy:main: Could not resolve org.springframework.boot:spring-boot-starter-web.
Required by:
project :
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
group = 'hello'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
🔥 3버전 이상 부터는 Java 버전이 17이상이어야 함. 그래서 build.gradle에서 sourceCompatibility를 자바 17이상으로 바꿔주면 해결 완료 🔥