SpringBoot启动失败:Error starting ApplicationContext.
程序员文章站
2022-05-25 11:47:11
...
新建了SpringBoot项目,启动时报以下错误:
Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2017-09-05 09:02:14.985 ERROR 8444 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
需要在启动类的@EnableAutoConfiguration或@SpringBootApplication中添加exclude = {DataSourceAutoConfiguration.class},排除此类的autoconfig。启动以后就可以正常运行。
推荐阅读
-
MySQL Error Log 文件丢失导致The server quit without updating PID file启动失败的场景
-
Tomcat7启动报Error starting static Resources错误
-
springboot启动失败:java: -source 1.5中不支持默认方法(请使用-source 8或更高版本以启用默认方法)
-
Error starting ApplicationContext.错误解决
-
2021-08-10spring boot启动报错Error starting ApplicationContext(application和前端问题)
-
SpringBoot报错:Error starting ApplicationContext. To display the conditions report...........
-
springboot错误:Error starting ApplicationContext. To display the conditions report re-run your applica
-
「Python」Linux环境下启动Flask应用时失败,Error:Address already in use
-
关于idea中SpringBoot启动失败的坑
-
linux启动mysql报错 Starting MySQL... ERROR! The server quit without updating PID file (XXXX pid文件位置)