当前位置:网站首页>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
2022-06-30 20:16:00 【10年老码农】
事情是这样,复制了个项目,想在这个项目上开发另一套系统。结果老是报 Failed to configure a DataSource。
特么我也去看了 application.yml 文件,无疑是配有的。

配置已经有,但为什么还报这个错误呢?百度了一轮,方案是,要是不在初始化时自动装配datasource,那可以在 SpringBootApplication 排除自动装配datasource。

再运行,还是报错。
tmd的,心态要崩了。
不行,冷静下来,还得再百度吧,问题还得要解决的嘛,看看还有什么奇怪的解决方案。
看了许久,有一个网友说是没有把resource设成资源目录,定眼一看自己的目录,还真是。

好吧,mark as 下。
跑起来,可以了,记录坑吧。
边栏推荐
- Informatics Olympiad 1362: family problems
- Playwright - scroll bar operation
- BioVendor sRAGE Elisa试剂盒测试原理和注意事项
- Golang应用 ━━ 安装、配置与使用hugo博客系统
- HeartBeat基于CRM使用NFS对MySQL高可用
- 第81场双周赛
- Halcon knowledge: check the measurement objects [1]
- No "history of blood and tears" in home office | community essay solicitation
- Jerry's determination of detection sensitivity level [chapter]
- 断点续传和下载原理分析
猜你喜欢

Lumiprobe 聚乙二醇化和 PEG 接头丨碘-PEG3-酸研究

Huffman Tree (1) Basic Concept and C - language Implementation

1. Introduction to generating countermeasures network

B_QuRT_User_Guide(31)

注册设备监理师难考吗,和监理工程师有什么关系?

《大厂面试》之JVM篇21问与答

Build your own website (20)

Jenkins打包拉取不到最新的jar包

NLP skill tree learning route - (I) route overview

Label Contrastive Coding based Graph Neural Network for Graph Classification
随机推荐
数据库 OLAP、OLTP是什么?相同和不同?适用场景
北京大学ACM Problems 1004:Financial Management
maya房子建模
Label Contrastive Coding based Graph Neural Network for Graph Classification
Installation and use of securecrtportable
Summary of PHP file upload (garbled code, move failure, permission, display picture)
Wechat applet development practice cloud music
Great God detailed open source Buff gain Introduction 丨 Live
Study on lumiprobe dye NHS ester BDP FL NHS ester
Scene 299
好高的佣金,《新程序员》合伙人计划来袭,人人皆可参与
Build your own website (20)
Openfire在使用MySQL数据库后的中文乱码问题解决
Lumiprobe核酸定量丨QuDye dsDNA BR 检测试剂盒
The newly born robot dog can walk by himself after rolling for an hour. The latest achievement of Wu Enda's first disciple
Description of the latest RTSP address rules for Hikvision camera, NVR, streaming media server, playback and streaming [easy to understand]
杰理之用测试盒配对软件修改注意点【篇】
A complete collection of vulnerability scanning tools. Mom doesn't have to worry that I won't find any more vulnerabilities
Informatics Olympiad 1362: family problems
《大厂面试》之JVM篇21问与答