本文共 140 字,大约阅读时间需要 1 分钟。
写代码时候遇到了这个问题 Could not autowire. No beans of HeadLineService’ type found. 提示这个错误,是因为在Service的实现类HeadLineServiceImpl中忘记在类的头部加注解@Service解决如下图。
@Service
转载地址:http://vowwz.baihongyu.com/