I have
maven projects with all maven dependencies but me application doesn't work because of this error :
Error creating bean with name 'mySessionFactory' defined in class path resource [pl/com/uhc/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class org.springframework.orm.hibernate4.LocalSessionFactoryBuilder
In Maven Dependencies i have spring-orm-4.0.6.RELEASE and in this jar i have org.springframework.orm.hibernate4.LocalSessionFactoryBuilder this class but my app can't localize it.
I'm using STS