当前位置:网站首页>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 下。
跑起来,可以了,记录坑吧。
边栏推荐
- Encoding type of Perl conversion file
- Lumiprobe copper free click chemical solution
- Description of the latest RTSP address rules for Hikvision camera, NVR, streaming media server, playback and streaming [easy to understand]
- Black apple server system installation tutorial, black apple installation tutorial, teach you how to install black apple in detail [easy to understand]
- C文件指针
- B_QuRT_User_Guide(33)
- 杰理之触摸按键识别流程【篇】
- Dynamic style binding --style and class
- STL的基本组成部分
- Jerry's touch key recognition process [chapter]
猜你喜欢

1、生成对抗网络入门

1. Introduction to generating countermeasures network

NLP 论文领读|文本生成模型退化怎么办?SimCTG 告诉你答案

Is the project manager a leader? Can you criticize and blame members?

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

BioVendor sRAGE Elisa试剂盒测试原理和注意事项

Analysis of breakpoint continuation and download principle

杰理之触摸按键识别流程【篇】

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

The newly born robot dog can walk by himself after rolling for an hour. The latest achievement of Wu Enda's first disciple
随机推荐
Web host iptables firewall security script
STL的基本组成部分
Summary of PHP file upload (garbled code, move failure, permission, display picture)
Black apple server system installation tutorial, black apple installation tutorial, teach you how to install black apple in detail [easy to understand]
大神详解开源 BUFF 增益攻略丨直播
Lumiprobe蛋白质定量丨QuDye 蛋白定量试剂盒
NLP paper lead reading | what about the degradation of text generation model? Simctg tells you the answer
Lumiprobe cell biology - dia, instructions for lipophilic tracer
Lingyun going to sea | 10 leap &huawei cloud: jointly helping Africa with inclusive financial services
Lumiprobe细胞生物学丨DiA,亲脂性示踪剂说明书
Lumiprobe copper free click chemical solution
Huffman tree (I) basic concept and C language implementation
BioVendor sRAGE Elisa试剂盒测试原理和注意事项
Go学习笔记
unittest自动测试多个用例时,logging模块重复打印解决
杰理之关于长按复位【篇】
SQL优化
杰理之触摸按键识别流程【篇】
A complete collection of vulnerability scanning tools. Mom doesn't have to worry that I won't find any more vulnerabilities
杰理之检测灵敏度级别确定【篇】