java – Spring MVC Hibernate Integration Issue

java – Spring MVC Hibernate Integration Issue

Try replacing –

@Repository(userDAOImpl)

with –

@Repository
@Qualifier(userDAOImpl)

And if you do not have any other repository, simply use this –

@Repository

Where you Autowired your jdbctemplate? Also try replacing

@Autowired
@Qualifier(sessionFactory)
private SessionFactory sessionFactory; 

with

@Autowired
private SessionFactory sessionFactory;

java – Spring MVC Hibernate Integration Issue

Leave a Reply

Your email address will not be published. Required fields are marked *