gradle常见问题
新版本 build.gralde
plugins {
id "org.springframework.boot" version "2.2.2.RELEASE"
}旧版本
//Using legacy plugin application
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "org.springframework.boot:spring-boot-gradle-plugin:2.2.2.RELEASE"
}
}
apply plugin: "org.springframework.boot"android studio 运行 main 方法 报错
解决:./idea/gradle.xml -> 节点下 加入下面这句
最后更新于
这有帮助吗?