Closed bchengwang closed 5 months ago
根据排查是因为和mybatis-spring-boot-starter中的mybatis版本冲突
So how to solve this error?
@panovr Currently, mybatis-spring-boot-starter is not compatible with the latest version of MyBatis. My current solution is to use version 3.5.5 of MyBatis Plus.
当前使用版本(必填,否则不予处理)
3.5.6
该问题是如何引起的?(确定最新版也有问题再提!!!)
APPLICATION FAILED TO START
Description:
An attempt was made to call a method that does not exist. The attempt was made from the following location:
The following method did not exist:
The calling method's class, com.baomidou.mybatisplus.core.MybatisMapperAnnotationBuilder, was loaded from the following location:
The called method's class, org.apache.ibatis.session.Configuration, is available from the following locations:
The called method's class hierarchy was loaded from the following locations:
Action:
Correct the classpath of your application so that it contains compatible versions of the classes com.baomidou.mybatisplus.core.MybatisMapperAnnotationBuilder and org.apache.ibatis.session.Configuration
重现步骤(如果有就写完整)
使用下面版本
报错信息
APPLICATION FAILED TO START
Description:
An attempt was made to call a method that does not exist. The attempt was made from the following location:
The following method did not exist:
The calling method's class, com.baomidou.mybatisplus.core.MybatisMapperAnnotationBuilder, was loaded from the following location:
The called method's class, org.apache.ibatis.session.Configuration, is available from the following locations:
The called method's class hierarchy was loaded from the following locations:
Action:
Correct the classpath of your application so that it contains compatible versions of the classes com.baomidou.mybatisplus.core.MybatisMapperAnnotationBuilder and org.apache.ibatis.session.Configuration