Failed to configure a DataSource: 'url' attribute is not specified and no embedde异常

springboot项目启动时,或者clean项目后install打包项目的时候出现以下原因

由于项目中没有配置:

导致没有及时编译这些配置文件,所以导致文件找不到,加上即可解决bug

若还不行,先删除项目中的target目录,在重新启动项目,重新编译一遍即可

猜你喜欢

转载自blog.csdn.net/qq_42709262/article/details/84661550
今日推荐