如何修复java中的“ TypeNotPresentExceptionProxy”

时间:2019-05-03 10:32:24

标签: java spring-boot tomcat8

我有一个spring boot应用程序,当我运行它时,出现此错误:

enter image description here

我相信此类提供了错误:

enter image description here

最准确地来自@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

0 个答案:

没有答案