Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource could
报错:
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
原因:
项目结构出现问题。由于从电脑a写的代码提交到远程仓库后resources文件类型没有同步上,导致电脑b拉下来的代码无法执行,遇到以上错误。
错误如图:
解决方法:
右击项目文件,将其设置为资源文件夹
参考文章
Failed to configure a Data
原创
2022-02-27 21:51:41 ·
527 阅读 ·
0 评论