
mybatisplus
Lewis-q398529803
这个作者很懒,什么都没留下…
展开
-
RuoYi-Vue mybatis升级为mybatisplus
1 问题RuoYi-Vue目前的orm框架是mybatis,希望改造为mybatisplus。2 流程2.1 删除所有跟mybatis相关的包其实就一个:<dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId></dependency>2.2 修改项目配置类(sqlsessionfactory)要用的是M原创 2021-06-03 15:03:06 · 4851 阅读 · 0 评论 -
java.lang.TypeNotPresentException: Type [unknown] not present错误
1 问题java.lang.TypeNotPresentException: Type [unknown] not present错误2 分析MapperScan所需要的包导入错误应该导入org.mybatis.spring.annotation下的MapperScan3 解决问题mybatis导入的依赖是:mybatis-spring-boot-starter<dependency> <groupId>org.mybatis.spring.boot<原创 2021-04-06 16:50:00 · 5674 阅读 · 1 评论