记录2023.10.13日所遇到的一些问题
解决java: 程序包com.baomidou.mybatisplus.core.mapper不存在的问题(MP常见问题)
在File -> settings 中勾选
解决“Failed to introspect Class [XXX] from ClassLoader”的问题
1.检查你的所有模块中是否有maven的未导包报错
2.对你所有模块的maven仓库进行clean与install
这是我的展开各模块的相关maven仓库操作
倘若还出现报错,请检查你的相关controller层与service层等配置的注解是否正确
解决mybatisplus Inferred type 'E' for type parameter 'E' is not within its bound; should implement 'com.baomidou.mybatisplus.core.metadata.IPage<javax.management.relation.xxx>'相关报错
这个问题出现在我调用MP中的selectPage()方法
遇到此类问题需仔细检查你的泛型类是否填对,包括你继承baseMapper时填写的类名是否正确
xxxxx extends BaseMapper<xxx>