报错 hibernate4整合spring3出现java.lang.NoClassDefFoundError: [Lorg/hibernate/engine/FilterDefinition;
解决办法
原先:<bean id="sessionFactory" class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean">
改成:<bean id="sessionFactory" class="org.springframework.orm.hibernate4.LocalSessionFactoryBean">
原先:<bean id="transactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager">
改成:<bean id="transactionManager" class="org.springframework.orm.hibernate4.HibernateTransactionManager">