`
Orange_killer
  • 浏览: 255 次
社区版块
存档分类
最新评论

struts2+spring4+hibernate4整合时 org.hibernate.service.jta.platform.spi.JtaPlatform

阅读更多
使用Spring3.2.4集成Hibernate4.3.5时,出现以下异常

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及以上版本

经过升级,Spring4.0.3,Hibernate4.3.5后,解决!



本文从以下连接转载:http://www.cnblogs.com/leiOOlei/p/3668229.html
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics