DataSource: ‘url‘ attribute is not specified and no embedded datasource coul"/>
解决Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource coul
问题如下~
***************************
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
根据提示url 可能有问题,
检查后url没问题,
于是找网上的一些方法,各种解决方案,想什么排除JDBC自动配置类,但是没有效果,于是就这样僵住了?
原本以为就这样卡住了,后来才发现一些静态资源没有被编译进target
直接把缺少的资源拖进target目录下的class目录下就好了;
就这样问题就解决了!
idea有时候会出现这种问题的,还真的仔细检查
更多推荐
解决Failed to configure a DataSource: ‘url‘ attribute is not specified and no embe
发布评论