当前位置:网站首页>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 下。
跑起来,可以了,记录坑吧。
边栏推荐
- Jerry's touch key recognition process [chapter]
- 北京大学ACM Problems 1002:487-3279
- B_QuRT_User_Guide(32)
- Go语学习笔记 - gorm使用 - 数据库配置、表新增 | Web框架Gin(七)
- Lumiprobe生物素亚磷酰胺(羟脯氨酸)说明书
- Lumiprobe细胞生物学丨DiA,亲脂性示踪剂说明书
- Pytorch implements the calculation of flops and params
- Jerry's touch key recognition process [chapter]
- HeartBeat基于CRM使用NFS对MySQL高可用
- Big God explains open source buff gain strategy live broadcast
猜你喜欢

Maya house modeling

Jenkins can't pull the latest jar package

MySQL:SQL概述及数据库系统介绍 | 黑马程序员

Lumiprobe细胞生物学丨DiA,亲脂性示踪剂说明书

Build your own website (20)
![Jerry's touch key recognition process [chapter]](/img/ec/25d2d6fd26571e4fb642129a4eee1b.png)
Jerry's touch key recognition process [chapter]

Lumiprobe copper free click chemical solution

Lumiprobe染料酰肼丨BDP FL 酰肼方案

Label Contrastive Coding based Graph Neural Network for Graph Classification

Document contains & conditional competition
随机推荐
MySQL:SQL概述及数据库系统介绍 | 黑马程序员
Tensorflow2.4 implementation of repvgg
请问海量数据如何去取最大的K个
北京大学ACM Problems 1000:A+B Problem
Go学习笔记
C file pointer
Static classes use @resource annotation injection
好高的佣金,《新程序员》合伙人计划来袭,人人皆可参与
B_QuRT_User_Guide(33)
Client request external interface standard processing method
To eliminate bugs, developers must know several bug exploration and testing artifacts.
Lumiprobe protein quantitation - qudye Protein Quantitation Kit
Heartbeat 与DRBD 配置过程
Encoding type of Perl conversion file
Go语学习笔记 - gorm使用 - 数据库配置、表新增 | Web框架Gin(七)
动态样式绑定--style 和 class
注册设备监理师难考吗,和监理工程师有什么关系?
jfinal中如何使用过滤器监控Druid监听SQL执行?
mysql登录出现1045错误修改方法[通俗易懂]
Study on lumiprobe modified triphosphate biotin-11-utp