[spring cloud] [spring boot] project startup error: Cannot determine embedded database driver class for database type NONE

Solve the reference article: https://blog.csdn.net/hengyunabc/article/details/78762097

The spring boot startup error is as follows:

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

 

Looking at the first line, we can set the log level to the undebugged level.

Restart, you can see more detailed log information

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325267280&siteId=291194637