【spring cloud】【spring boot】项目启动报错:Cannot determine embedded database driver class for database type NONE

解决参考文章:https://blog.csdn.net/hengyunabc/article/details/78762097

spring boot启动报错如下:

Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2018-05-04 17:12:03.806 ERROR 3300 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   : 

***************************
APPLICATION FAILED TO START
***************************

Description:

Cannot determine embedded database driver class for database type NONE

Action:

If you want an embedded database please put a supported one on the classpath. If you have database settings to be loaded from a particular profile you may need to active it (no profiles are currently active).

Disconnected from the target VM, address: '127.0.0.1:60654', transport: 'socket'

Process finished with exit code 1

看第一行,我们可以把日志等级 设置未debug等级。

再启动,可以看到更详细的日志信息

猜你喜欢

转载自www.cnblogs.com/sxdcgaq8080/p/8991736.html