ShardingJdbc报ShardingSphereYamlConstructor$1.setCodePointLimit(I)错误,是ShardingSphereYamlConstructor类没没有setCodePointLimit(I)方法
需要查看版本接口Constructor的版本
![](https://img-blog.csdnimg.cn/67a265be19b747808c1c12c00554f3a9.png)
查看当前模块依赖的版本的方法如下,
1、找到该类的POM文件
![](https://img-blog.csdnimg.cn/4127ac8febee42e2867fb60d40771ebb.png)
2、查看jar包版本
![](https://img-blog.csdnimg.cn/6c3ec9c0cb774e379a128a6475850044.png)
![](https://img-blog.csdnimg.cn/ac252b0c051e4e609984a63132342e0e.png)
3、对比依赖的jar版本和实际的版本是否一致
![](https://img-blog.csdnimg.cn/ae6904182cc54e16a1eb14244bd0cfa4.png)
4、不一致需要则exclusion现有的版本
5、在当前POM中依赖指定jar包版本,防止冲突
![](https://img-blog.csdnimg.cn/e7f7223cb16647ef84673f19a3993ffa.png)