版本冲突问题解决
- 异常信息如下:
An attempt was made to call a method that does not exist. The attempt was made from the following location: com.baomidou.mybatisplus.core.MybatisMapperAnnotationBuilder.getLanguageDriver(MybatisMapperAnnotationBuilder.java:385)
只要看到:An attempt was made to call a method that does not exist. 就是版本冲突问题。
解决 maven 版本冲突问题
idea 安装 mavenhelper 插件,自行安装,不做多解释
-
点开 pom.xml 文件 =》 左下角有 text 和 Dependency Analyzer , 点 Dependency Analyzer ==> 选中 Conflicts==> 选中需要解决的冲突 ==》 鼠标右键,exclude; 如果不是根的话就,Jump left Tree 之后再 exclude
-
reimport 就好了