
Consider defining a bean of type 'com.ge.information.mapper.UserMapper' in your configurat
解决办法:
一:加入@MapperScan(value="com.ge.information.mapper")
@MapperScan(value="com.ge.information.mapper") public class InformationApplication { public static void main(String[] args) { SpringApplication.run(InformationApplication.class, args); } }或者二:加入
@Mapper @Mapper public interface UserMapper extends BaseMapper<UserEntity> {xxx}
👁️ 阅读量:0
© 版权声明:本文《Consider defining a bean of type &#039;com.ge.information.mapper.UserMapper&#039; in your configurat》内容均为本站精心整理或网友自愿分享,如需转载请注明原文出处:https://www.zastudy.cn/wen/1686550108a289257.html。