
Failed to configure a DataSource: ‘url‘ attribute is not ...终极解决办法【80%有效】
【问题】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 classAction:Consider the
【问题】
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).
以上问题困扰了我很久,面相度娘发现,说明都是千篇一律,实际大部分情况根本不是度娘上说的问题,这个问题根本出在idea机制(资源文件夹被idea设置成了普通目录,导致编译的时候找不到正常的配置文件)!下面直接放出解决办法!
【解决办法】
设置完毕后,再次愉快的运行吧!
更多推荐
所有评论(0)