mybatis-plus 和 mybatis-plus-boot-starter 的主要异同点就在于:
mybatis-plus-boot-starter将xml中basemap中定义的id全部已经实现了,
而mybatis-plus这个包还需要自己实现basemap中的定义。
BUG:
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Thu May 23 14:54:08 CST 2019
There was an unexpected error (type=Internal Server Error, status=500).
Invalid bound statement (not found): com.mrk.dx.system.dao.SkyUserDao.selectList
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.mrk.dx.system.dao.SkyUserDao.selectList
at org.apache.ibatis.binding.MapperMethod$SqlCommand.(MapperMethod.java:232)
at org.apache.ibatis.binding.MapperMethod.(MapperMethod.java:50)
at org.apache.ibatis.binding.MapperProxy.lambda$cachedMapperMethod$0(MapperProxy.java:62)
at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
at org.apache.ibatis.binding.MapperProxy.cachedMapperMethod(MapperProxy.java:62)
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:57)
at com.sun.proxy.$Proxy101.selectList(Unknown Source)
at com.baomidou.mybatisplus.service.impl.ServiceImpl.selectList(ServiceImpl.java:292)
at com.baomidou.mybatisplus.service.impl.ServiceImpl$$FastClassBySpringCGLIB$$3e2398a4.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684)
at com.mrk.dx.system.service.impl.SkyUserServiceImpl$$EnhancerBySpringCGLIB$$d0192f7b.selectList()
原因
com.baomidou
mybatis-plus
2.0.6