使用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