A component required a bean of type ‘XXXService‘ that could not be found

A component required a bean of type ‘XXXService’ that could not be found
组件需要找不到“Service”类型的bean

因为service的实现类serviceimpl忘记了加@Service注解。

猜你喜欢

转载自blog.csdn.net/lixingecho/article/details/114592788