Could not autowire. No beans of “AccountSerice type found.遇到这种问题怎么解决。

Could not autowire. No beans of "AccountSerice type found. 今天在搭建SSM完之后想验证一下,结果发现service注入不进去。 图片: 看了一下service实现类上面已经写了@Service注解,在Context配置文件里也添加了这个。 然后我就懵逼了,难不成依赖没导对或是配置文件有问题?接下来的几小时里把代码翻了个底朝天,一不小心看到
相关文章
相关标签/搜索