美文网首页
spring-boot启动debug信息中non-fatal e

spring-boot启动debug信息中non-fatal e

作者: chaofeng | 来源:发表于2015-09-15 12:47 被阅读2864次
  • java.lang.ClassNotFoundException: org.springframework.data.web.config.EnableSpringDataWebSupport
    添加依赖(版本由parent中spring-data-releasetrain定义)
    <pre>
    <dependency>
     <groupId>org.springframework.data</groupId>
     <artifactId>spring-data-commons</artifactId>
    </dependency>
    </pre>

  • java.lang.ClassNotFoundException: org.springframework.security.config.annotation.web.configuration.EnableWebSecurity
    添加依赖
    <pre>
    <dependency>
     <groupId>org.springframework.boot</groupId>
     <artifactId>spring-boot-starter-security</artifactId>
    </dependency>
    </pre>

  • java.lang.ClassNotFoundException: java.lang.FunctionalInterface
    JDK 8以下才会报这个问题

相关文章

网友评论

      本文标题:spring-boot启动debug信息中non-fatal e

      本文链接:https://www.haomeiwen.com/subject/jukmcttx.html