spring-boot gradle plugin can't be found

前端 未结 8 1235
醉话见心
醉话见心 2021-02-05 02:44

I have a separate gradle script that is just adding spring-boot plugin. It looks like this:

buildscript {
    repositories {
        mavenLocal()
        mavenCe         


        
相关标签:
8条回答
  • 2021-02-05 03:18

    Check your syntax and where your parentheses close } I had the same issue and it turned out my repositories { didnt contain } at the end

    0 讨论(0)
  • 2021-02-05 03:19

    Applying a plugin by plugin id is not supported in script plugins. You must use the plugin's fully qualified class name.

    apply plugin: org.springframework.boot.gradle.plugin.SpringBootPlugin
    

    See this thread for more information.

    UPDATE: Updating plugin class name.

    0 讨论(0)
提交回复
热议问题