阅读背景:

@Autowired -没有为依赖项找到类型的合格bean。

来源:互联网 

I've started my project by creating entities, services and JUnit tests for services using Spring and Hibernate. All of this works great. Then I've added spring-mvc to make this web application using many different step-by-step tutorials, but when I'm trying to make Controller with @Autowired annotation, I'm getting errors from Glassfish during deployment. I guess that for some reason Spring doesn't see my services, but after many attempts I still can't handle it.I've started my project by creating entities, s




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: