使用Spring3.2.4集成Hibernate4.3.5時,出現如下異常java
Causedby:java.lang.ClassNotFoundException:org.hibernate.service.jta.platform.spi.JtaPlatformspa
緣由是在Hibernate4.3.X中,org.hibernate.service.jta.platform.spi.JtaPlatform類換成了:hibernate
org.hibernate.engine.transaction.jta.platform.spi.JtaPlatform;orm
解決方案:io
Hibernate用4.2.X及如下版本 或 Spring用4.0及以上版本form
通過升級,Spring4.0.3,Hibernate4.3.5後,解決!sed