最新回答 / gaidie
mybatis的版本与Spring Boot应该匹配,不然报如下错误:Description:A component required a bean of type 'com.xiaogai.allone.mapper.TagMapper' that could not be found.Action:Consider defining a bean of type 'com.xiaogai.allone.mapper.TagMapper'...
2023-09-06
讲师回答 / Er十七
代码开发判空是好习惯,不要过度依赖框架封装。养成判空好习惯,这样不必纠结在不同位置底层封装是否会返回null,也防止版本迭代所造成的影响。也防止在有可能为空的位置的漏处理。
2023-08-30
最新回答 / qq_慕侠0535306
一样的问题,在pom文件中把mybatis改为3.0.2解决
org.mybatis.spring.bootmybatis-spring-boot-starter3.0.2
2023-02-09