当前位置:网站首页>Error creating bean with name ‘dataSource‘:Unsatisfied dependency expressed through field ‘basicPro
Error creating bean with name ‘dataSource‘:Unsatisfied dependency expressed through field ‘basicPro
2022-08-01 22:08:00 【Be_insighted】
Error creating bean with name 'dataSource': Unsatisfied dependency expressed through field 'basicProperties';
方案一:
SpringBoot项目启动时没有添加jdbc时需要在启动类上exclude掉MySQL!
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class,
DataSourceTransactionManagerAutoConfiguration.class,
JdbcTemplateAutoConfiguration.class})
方案二:
或者pom.xml文件中增加jdbc依赖!
边栏推荐
- Deep Learning Course2 Week 2 Optimization Algorithms Exercises
- _ _ determinant of a matrix is higher algebra eigenvalue of the product, the characteristic value of matrix trace is combined
- User Experience | How to Measure User Experience?
- How to add a game character to a UE4 scene
- 一种灵活的智能合约协作方式
- LeetCode952三部曲之一:解题思路和初级解法(137ms,超39%)
- 小程序毕设作品之微信体育馆预约小程序毕业设计成品(3)后台功能
- SAP Spartacus Accessibility E2E 端到端测试
- 【C语言实现】两种计算平均成绩题型,博主精心整理,值得一读
- 越长大越孤单
猜你喜欢
随机推荐
恒星的正方形问题
Kubernetes第零篇:认识kubernetes
PAM 回文自动机
小程序毕设作品之微信美食菜谱小程序毕业设计成品(6)开题答辩PPT
19 Lectures on Disassembly of Multi-merchant Mall System Functions - Invoice Management on the Platform
LeetCode952三部曲之一:解题思路和初级解法(137ms,超39%)
还在纠结报表工具的选型么?来看看这个
如何防范 DAO 中的治理攻击?
Shell programming conditional statement
小程序毕设作品之微信美食菜谱小程序毕业设计成品(5)任务书
线程池分析
SOM网络2: 代码的实现
0DFS Medium LeetCode6134. Find the closest node to the given two nodes
_ _ determinant of a matrix is higher algebra eigenvalue of the product, the characteristic value of matrix trace is combined
递归(各经典例题分析)
图论——强连通分量缩点+拓扑排序
迁移学习——Discriminative Transfer Subspace Learning via Low-Rank and Sparse Representation
LeetCode952三部曲之二:小幅度优化(137ms -> 122ms,超39% -> 超51%)
安全第五次课后练习
ARFoundation Getting Started Tutorial U2-AR Scene Screenshot Screenshot