springBoot项目Consider defining a bean of type 'xxx' in your configuration错误的解决
我用IDEA创建一个SpringBoot项目,各种配置,mapper类和model类都检查了没有错,运行后控制台报错:
Field userMapper in com.ajax.service.J1902UserService required a bean of type ‘com.ajax.dao.J1902UserMapper’ that could not be found.
The i...
原创
2019-07-03 21:51:58 ·
2283 阅读 ·
0 评论