Mybatis Plus 3.0.x版本 Dots are not allowed in element names,please remove it from问题处理

缘起

今天收到同事如题目面试那样的一个反馈,于是用debug定位到了报错的地方:
org.apache.ibatis.builder.MapperBuilderAssistant#applyCurrentNamespace里面,debug发现currentNamespace为null,base为mapper方法的全限定名,于是抛出Dots are not allowed in element names, please remove it from错误。

问题所在

在Mybatis Plus的讨论区找到关于这个问题的讨论,传送门

解决办法

升级版本到3.1.x

你可能感兴趣的:(JAVA)