spring Boot项目错误解决一:Failed to configure a DataSource: 'url' attribute is not specified

在场景导入的时候导入的 Mybatis场景启动器  但是还没在全局配置文件中指定 url等数据库内容

问题原因: Mybatis没有找到合适的加载类,其实是大部分spring - datasource - url没有加载成功,分析原因如下所示.

解决方案:https://www.jianshu.com/p/836d455663da

解决截图:

发布了68 篇原创文章 · 获赞 21 · 访问量 2万+

猜你喜欢

转载自blog.csdn.net/Taylor_Ocean/article/details/90246374