spring-boot启动信息中non-fatal error

Posted bad_boy_f

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了spring-boot启动信息中non-fatal error相关的知识,希望对你有一定的参考价值。

java.lang.ClassNotFoundException: org.springframework.data.web.config.EnableSpringDataWebSupport
缺少依赖:
在gradle.build文件dependencies添加
  compile("org.springframework.data:spring-data-commons")

 

java.lang.ClassNotFoundException: org.springframework.security.config.annotation.web.configuration.EnableWebSecurity
缺少依赖:
在gradle.build文件dependencies添加
  compile("org.springframework.boot:spring-boot-starter-security")







以上是关于spring-boot启动信息中non-fatal error的主要内容,如果未能解决你的问题,请参考以下文章

Spring-boot 启动报错 调试小技巧

Non-fatal Exception: java.lang.UnsatisfiedLinkError: dlopen failed: library “libmmkv.so“ not found

spring-boot 无法在 docker 中启动

无法在 IntelliJ Idea 中启动 spring-boot 应用程序

改进 Docker 中的 Spring-Boot 启动

spring-boot 在启动运行脚本中执行修改表结构