zoukankan      html  css  js  c++  java
  • spring-boot启动debug信息中non-fatal error解决

    • java.lang.ClassNotFoundException: org.springframework.data.web.config.EnableSpringDataWebSupport
      添加依赖(版本由parent中spring-data-releasetrain定义)

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

      <dependency>
       <groupId>org.springframework.boot</groupId>
       <artifactId>spring-boot-starter-security</artifactId>
      </dependency>
    • java.lang.ClassNotFoundException: java.lang.FunctionalInterface
      JDK 8以下才会报这个问题



    文/chaofeng(简书作者)
    原文链接:http://www.jianshu.com/p/a3ed7b2f1e81
    著作权归作者所有,转载请联系作者获得授权,并标注“简书作者”。
  • 相关阅读:
    单分发器
    Python 虚拟环境
    $modal
    memoization
    directive例子2
    UI-Router
    angular-translate
    directive例子1
    FileInputStream/FileOutputStream的应用
    自定义readLine
  • 原文地址:https://www.cnblogs.com/softidea/p/6083010.html
Copyright © 2011-2022 走看看