admin管理员组文章数量:1794759
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}
本文标签: amptypedefiningbeanUserMapper
版权声明:本文标题:Consider defining a bean of type &#039;com.ge.information.mapper.UserMapper&#039; in your configurat 内容由林淑君副主任自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.xiehuijuan.com/baike/1686549889a80736.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论