Today I was in the integration of the time there is a very strange problem! Is in the integration is after the emergence of class not found:org.hibernate.FilterDefinition.class, looked for a long time to say is not add jar package, and then I find this class in the end there is no in hibernate, Found this class incredibly in the Hibernate-core.jar but not under the root of the engine bag, but under the ENGINE.SPI! And then I found out why! It turns out that Hibernate3 and hibernate4 are different.
The integration I use here is hibernate4.3.5+spring4.0.6+struts2.3.16 are now relatively new versions! The reason for this is that we need to make a lot of changes, but in the configuration Sessionfactory class properties to write Org.springframework.orm.hibernate4.LocalSessionFactoryBean Note is to change the original hibernate3 to Hibernate4 can solve the problem, of course, when configuring the transaction should also pay attention to Org.springframework.orm.hibernate4.HibernateTransactionManager also be written hibernate4
Hope this can help everyone!
SSH Framework Integration Class not Found:org.hibernate.engine.FilterDefinition.class