解决Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource coul

编程入门 行业动态 更新时间:2024-10-08 07:28:43

解决Failed to configure a <a href=https://www.elefans.com/category/jswz/34/1770855.html style=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

本文发布于:2024-02-27 19:05:40,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1765902.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:DataSource   url   Failed   configure   datasource

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!