Error creating bean with name 'userController': Injection of autowired depen。关于springMVC+dubbo出现的错误

笔者认为这篇文章非常有必要去写,因为我觉得这个错误很多人在用springMVC和dubbo中都会出现这个错误,而且网上的总结不全面,所以我在这里说一下自己的解决方法。 首先,出现这个错误的原因,无异于你没有加入这个bean或扫描不到你这个类。 关于这种错误,首先我总结一下网上的方法, 1.什么网上的@Service @Controller @Autowired 等等注解没有写的,我就服了,这种常识
相关文章
相关标签/搜索