当出现service或者mapper找不到到时候会报以下错误:
***************************APPLICATION FAILED TO START***************************Description:Field userInfoService in com.ck.admin_fiction.controller.UsreInfoController required a bean of type 'com.**.mapper.UserInfoMapper' that could not be found.The injection point has the following annotations:- @org.springframework.beans.factory.annotation.Autowired(required=true)Action:Consider defining a bean of type 'com.**.mapper.UserInfoMapper' in your configuration.Process finished with exit code 0
问题截图:
解决办法:
在对应的mapper或者service加注解
@Mapper或者@ServiceMapper找不到

Service找不到

