标签:
在springMvc-servlet中加入:
<context:component-scan base-package="gywork.springMVC01.controller,gywork.springMVC01.service"></context:component-scan>
在接口实现类中加入标注:@Service,即可解决
@Autowired找不到service的问题
原文地址:http://www.cnblogs.com/engine/p/4383568.html