posted 9 years ago
I see your point about autowired and setter dependency injection. I deleted these two beans.
My new springmvc-servlet.xml is this:
However error did not change.
But I did not understand "org.springframework.orm.hibernate4.LocalSessionFactoryBean" and "org.hibernate.SessionFactory" issue. What should I do? SessionFactory is only importted by org.hibernate.SessionFactory