*************************** APPLICATION FAILED TO START *************************** Description: F

springboot+mybatis启动报错

***************************
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 suitable jdbc url


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).


Process finished with exit code 1

网上查了很多,都没找到!!!
最后发现这一句`Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded datasource could be configured.原来是数据库连接URL参数错了,简直炸了。。。。。。。。。

确认不是链接参数等问题????

试试这个,邮件点击resouce然后选择MarkDirectorys as,选择resource root。
我第二次遇到的就是这个情况。

你可能感兴趣的:(springboot,mybatis)