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
@Autowired
Add the annotation @Repository to the implementation of UserDaoImpl
@Repository
UserDaoImpl
@Repository public class UserDaoImpl implements UserDao { private static Log log = LogFactory.getLog(UserDaoImpl.class); @Autowired @Qualifier("sessionFactory") private LocalSessionFactoryBean sessionFactory; //... }