用Hibernate4.3.1时出现:
Causedby:java.lang.ClassNotFoundException:org.hibernate.service.jta.platform.spi.JtaPlatform 的异常
在Hibernate4.3.X中,org.hibernate.service.jta.platform.spi.JtaPlatform类换成了:
org.hibernate.engine.transaction.jta.platform.spi.JtaPlatform;
解决方案:
Hibernate用4.2.X及以下版本 或 Spring用4.0及以上版本
本文介绍了使用Hibernate 4.3.1时遇到的java.lang.ClassNotFoundException:org.hibernate.service.jta.platform.spi.JtaPlatform异常,并提供了相应的解决方案。建议使用Hibernate 4.2.X及以下版本或Spring 4.0及以上版本。
211

被折叠的 条评论
为什么被折叠?



