Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

kotlin spring boot 3 - cannot resolve spring-boot-gradle-plugin:3.0.0

I'm getting a weird resolution error when trying to upgrade to spring boot 3. I have a kotlin/spring project. The only thing sort of related is this, but it's not the same dependency.

Here's the error: Could not resolve org.springframework.boot:spring-boot-gradle-plugin:3.0.0.

Here's my dependency declaration:

plugins {
        id 'io.spring.dependency-management' version '1.1.0' // latest at this time
        id 'org.springframework.boot' version '3.0.0'
        id 'org.jetbrains.kotlin.plugin.jpa' version '1.7.10'
        id 'org.jetbrains.kotlin.plugin.spring' version '1.7.10'
}

Here's my full output:

full dependency output

What I've tried:

  • Switching to Java 17
  • Searching online for the same exact error - no luck so far. (11-29-2022 10AM ET)
like image 372
TheJeff Avatar asked Oct 23 '25 09:10

TheJeff


1 Answers

Modify the Gradle JVM in the settings enter image description here

like image 124
萧笑啸 Avatar answered Oct 25 '25 22:10

萧笑啸