Mybatis
Samdom
这个作者很懒,什么都没留下…
展开
-
Mybatis:Type interface cn.itsun.dao.UserDao is not known to the MapperRegistry
Exception in thread “main” org.apache.ibatis.binding.BindingException: Type interface com.zsd.dao.IUserDao is not known to the MapperRegistry.at org.apache.ibatis.binding.MapperRegistry.getMapper(Map...原创 2019-04-17 11:09:12 · 2751 阅读 · 0 评论 -
Mybatis:Cannot enable lazy loading because CGLIB is not available. Add CGLIB to your classpath.
解决方案根据提示需要添加CGLB库<dependency> <groupId>cglib</groupId> <artifactId>cglib</artifactId> <version>3.2.10</version></dependency>搞定!!...原创 2019-04-19 16:36:03 · 438 阅读 · 1 评论