解决SpringBoot启动报错:LoggingFailureAnalysisReporter
我的解决方式是:
[code]@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
即在@SpringBootApplication后,加上(exclude = DataSourceAutoConfiguration.class)。
我也还是SpringBoot新手,还不知道其中的奥妙,看了别人的方法用了可行,就记一下吧。
我的报错信息如下:
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-05-16 16:54:21.280 ERROR 28492 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
Reason: Failed to determine a suitable driver class
Action:
Consider the following:
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).
- Spring Boot 启动报错:LoggingFailureAnalysisReporter
- VirtualBox启动 CO_E_SERVER_EXEC_FAILURE (0x80080005) 问题的解决
- ASM 启动报错 ORA-27300, ORA-27301 and ORA-27302: failure occurred at: sskgpsemsper 解决方法
- Springboot 使用Idea启动web项目访问JSP报404错误解决
- ASM 启动报错 ORA-27300, ORA-27301 and ORA-27302: failure occurred at: sskgpsemsper 解决方法
- SpringBoot第一次启动main方法报错(jdk1.9问题)解决方法(文章中间)
- ASM 启动报错 ORA-27300, ORA-27301 and ORA-27302: failure occurred at: sskgpsemsper 解决方法
- 超详细解决SpringBoot启动过后不能访问jsp页面的问题
- SpringBoot启动报8080端口被占用的解决方法
- 启动tomcat报错:java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory的解决
- myeclipse8.6启动后报failure activating drop-ins错误解决办法
- SpringBoot应用部署到Tomcat中无法启动的解决方法
- 关于在Eclipse中启动Weblogic服务器时出现Parsing Failure in config.xml问题解决方法
- BlackBerry PlayBook NDK 启动时出现“License check failure”错误的解决方法。
- 【问题及解决】Elasticsearch不能正常启动do not exists on master, act as master failure
- Weblogic在myEclipse下的启动时 发生Parsing Failure in config.xml的错误解决
- 解决springboot项目在eclipse中可以启动在idea中报错
- 【错误解决】springBoot启动报错:Error starting ApplicationContext. To display the auto-configuration report re-
- MyEclipse6.0+Tomcat7.0.4启动报错: java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory的解决
- hbase环境搭建,hmaster启动后会掉解决办法