-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adapting SpringBoot OSS 3.0.0-M5 to the changes made to the auto-config class #4870
Conversation
Carbon Copy @miemieYaho . |
do you meet this error in this version org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): XXXMapper.selectList
at org.apache.ibatis.binding.MapperMethod$SqlCommand.<init>(MapperMethod.java:235) ~[mybatis-3.5.11.jar:3.5.11]
at org.apache.ibatis.binding.MapperMethod.<init>(MapperMethod.java:53) ~[mybatis-3.5.11.jar:3.5.11]
at org.apache.ibatis.binding.MapperProxy.lambda$cachedInvoker$0(MapperProxy.java:108) ~[mybatis-3.5.11.jar:3.5.11]
at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1740) ~[na:na]
at org.apache.ibatis.util.MapUtil.computeIfAbsent(MapUtil.java:35) ~[mybatis-3.5.11.jar:3.5.11]
at org.apache.ibatis.binding.MapperProxy.cachedInvoker(MapperProxy.java:95) ~[mybatis-3.5.11.jar:3.5.11]
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86) ~[mybatis-3.5.11.jar:3.5.11]
at jdk.proxy2/jdk.proxy2.$Proxy113.selectList(Unknown Source) ~[na:na]
at com.baomidou.mybatisplus.core.mapper.BaseMapper.selectOne(BaseMapper.java:172) ~[mybatis-plus-core-3.5.2.3-SNAPSHOT.jar:3.5.2.3-SNAPSHOT]
at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732) ~[na:na]
at org.apache.ibatis.binding.MapperProxy$DefaultMethodInvoker.invoke(MapperProxy.java:159) ~[mybatis-3.5.11.jar:3.5.11]
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86) ~[mybatis-3.5.11.jar:3.5.11]
at jdk.proxy2/jdk.proxy2.$Proxy113.selectOne(Unknown Source) ~[na:na]
at com.baomidou.mybatisplus.extension.service.impl.ServiceImpl.getOne(ServiceImpl.java:202) ~[mybatis-plus-extension-3.5.2.3-SNAPSHOT.jar:3.5.2.3-SNAPSHOT]
at com.baomidou.mybatisplus.extension.service.IService.getOne(IService.java:320) ~[mybatis-plus-extension-3.5.2.3-SNAPSHOT.jar:3.5.2.3-SNAPSHOT] |
@aispringli Since this PR is closed, I suggest you open a new issue and provide a minimal reproducible example. The source of this PR is an issue suggestion from the ShardingSphere community. 🤔 |
所以是还要等吗? |
|
可以直接用加入mybatis的最新依赖覆盖plus中的mybatisplus,mybatis-plus还需要后期重新集成最新的mybatis |
该Pull Request关联的Issue
修改描述
2.7.0
. Reference Migrate to new Spring Boot auto configuration introduced in spring bo… remkop/picocli#1778 (comment) .mybatis-spring-boot-starter
inpom.xml
. Refer to Support Spring Boot 3 mybatis/spring-boot-starter#607 .测试用例
修复效果的截屏