我有一个spring boot应用程序,当我运行它时,出现此错误:
我相信此类提供了错误:
最准确地来自@Import
注释。在这个项目中,我有下一个build.gradle:
buildscript {
repositories {
mavenCentral()
}
ext {
spring_plugin_version = '1.5.8.RELEASE'
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${spring_plugin_version}")
}
}
apply plugin: 'java'
apply plugin: 'org.springframework.boot'
apply plugin: 'eclipse-wtp'
repositories {
mavenCentral()
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
bootRepackage.enabled = false