I am trying to write a SOAP service using Spring, however I receive a Dependency Injection issue. I\'m having problems using @Autowired through the Service like
Look at the exception:
No qualifying bean of type [edu.java.spring.ws.dao.UserDao] found for dependency
This means that there's no bean available to fulfill that dependency. Yes, you have an implementation of the interface, but you haven't created a bean for that implementation. You have two options:
UserDaoImpl with @Component or @Repository, and let the component scan do the work for you, exactly as you have done with UserService.UserBoImpl.Remember that if you create the bean explicitly you need to put the definition before the component scan. In this case the order is important.