项目报错A component required a bean of type ‘com.hao.mall.service.UserService’ that could not be found. Action: Consider defining a bean of type ‘com.hao.mall.service.UserService’ in your configuration.
A component required a bean of type ‘com.hao.mall.service.UserService‘ that could not be found.
项目报错A component required a bean of type ‘com.hao.mall.service.UserService’ that could not be found. Action: Consider defining a bean of type ‘com.hao.mall.service.UserService’ in your configuration.原来userServiceImpl上没有标注解@Service,表上注解之后就没问题啦!...