当前位置:网站首页>Druid integration shardingsphere appears xxmapper Reasons and solutions of XML error reporting
Druid integration shardingsphere appears xxmapper Reasons and solutions of XML error reporting
2022-07-24 16:02:00 【Roc.Chang】
Project environment :
druid: 1.1.21
sharding-jdbc:4.1.0
Generally, there is no error report , The reason for this is Dependency conflicts , Cause not found xxMapper.xml file . The dependency introduced when an error is reported is :
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid-spring-boot-starter</artifactId>
<version>1.1.21</version>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>sharding-jdbc-spring-boot-starter</artifactId>
<version>4.1.0</version>
</dependency>
druid-spring-boot-starter And sharding-jdbc-spring-boot-starter There will be conflicts , If you want to use sharding-jdbc-spring-boot-starter Words , there druid You can't use it starter Version of , You must use the full version of , Revised as follows :
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid</artifactId>
<version>1.1.21</version>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>sharding-jdbc-spring-boot-starter</artifactId>
<version>4.1.0</version>
</dependency>
In this way, the project can run normally .
Personal blog :Roc’s Blog
边栏推荐
- 收益率在百分之六以上的理财产品,请说一下
- Netease email (126/163): authorization code acquisition strategy
- Vscode common shortcut keys
- [adaptiveavgpool3d] pytorch tutorial
- IP protocol - network segment division
- Leetcode 220. duplicate element III exists
- Error 1053: the service did not respond to the start or control request in a timely fashion
- Some understanding of the rank sum of matrix and the rank of image
- Adaptive design and responsive design
- Varnish4.0 cache agent configuration
猜你喜欢

华为无线设备配置WAPI-证书安全策略

2.19 haas506 2.0 development tutorial - Bluetooth - Bluetooth communication (only supports versions above 2.2)

After taking aiyouteng's medicine, Naifei's condition improved

Kubernetes static storage and dynamic storage

iptables常用命令小清单
![Programming in CoDeSys to realize serial communication [based on raspberry pie 4B]](/img/9c/05118efe2152dc5461a92720732076.jpg)
Programming in CoDeSys to realize serial communication [based on raspberry pie 4B]

yolov3 训练自己的数据集

torch_ How to use scatter. Scatter() in detail

2.19 haas506 2.0开发教程 - bluetooth - 蓝牙通信(仅支持2.2以上版本)

Introduction to bermudagrass
随机推荐
Fine tune layoutlm V3 for bill data processing and content recognition
yolov3 训练自己的数据集
Scala functions and their higher-order applications
Leetcode 231. 2 的幂
在LAMP架构中部署Zabbix监控系统及邮件报警机制
未来数据库需要关心的硬核创新
Introduction to kettle messy notes
JUC source code learning note 3 - AQS waiting queue and cyclicbarrier, BlockingQueue
Withdrawal of IPO application, Yunzhou intelligent "tour" of unmanned boat enterprise fails to enter the science and Technology Innovation Board
From which dimensions can we judge the quality of code? How to have the ability to write high-quality code?
vscode常用快捷键
MySQL source code analysis -- data structure of index
[loj3247] [USACO 2020.1 platinum "non declining subsequences (DP, divide and conquer)
电话系统规则
R language ggplot2 visualization: ggplot2 visualization basic scatter plot, through in theme_ Specify the parameter base in BW_ Size to change the size of axis labels and control the size of gridlines
徽商期货平台安全吗?办理期货开户没问题吧?
Simplified understanding: publish and subscribe
Lsyncd 实时同步
C TCP client form application asynchronous receiving mode
Database learning – select (multi table joint query) [easy to understand]