当前使用版本(必填,否则不予处理)

mybatis-plus-boot-starter 3.3.2

该问题是如何引起的?(确定最新版也有问题再提!!!)

大佬们,你好,我在dao 接口的某个方法上使用@selecter注解就会报无getDefaultResultSetType(),然后我在你们的MybatisConfiguration中确实没找到getDefaultResultSetType()方法。

重现步骤(如果有就写完整)

批注 2022-01-28 092703

报错信息

2022-01-28 09:11:23.963 WARN 111216 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'validateDB': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tableDao' defined in file [D:***dao/TableDao.class]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: com.baomidou.mybatisplus.core.MybatisConfiguration.getDefaultResultSetType()Lorg/apache/ibatis/mapping/ResultSetType;

Comment From: dingyh1

写错了是@select

Comment From: miemieYaho

检查mybatis版本冲突

Comment From: dingyh1

请问检查冲突该怎么查呀

检查mybatis版本冲突

Comment From: miemieYaho

百度"检查jar包版本冲突"