spring 集成 Hibernate4.3.X org.hibernate.service.jta.platform.spi.JtaPlatform异常
来源:互联网 发布:淘宝c店全屏装修 编辑:程序博客网 时间:2024/05/18 03:10
使用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后,解决!
0 0
- spring 集成 Hibernate4.3.X org.hibernate.service.jta.platform.spi.JtaPlatform异常
- Hibernate4.3.1 org.hibernate.service.jta.platform.spi.JtaPlatform 异常解决
- struts2+spring4+hibernate4整合时 org.hibernate.service.jta.platform.spi.JtaPlatform 异常
- struts2+spring4+hibernate4整合时 org.hibernate.service.jta.platform.spi.JtaPlatform 异常
- org.hibernate.service.jta.platform.spi.JtaPlatform
- java.lang.NoClassDefFoundError: org/hibernate/service/jta/platform/spi/JtaPlatform
- java.lang.NoClassDefFoundError: org/hibernate/service/jta/platform/spi/JtaPlatform
- java.lang.ClassNotFoundException: org.hibernate.service.jta.platform.spi.JtaPlatform
- Caused by: java.lang.ClassNotFoundException: org.hibernate.service.jta.platform.spi.JtaPlatform
- 整合spring4和hibernate4出现问题———org.hibernate.service.spi.ServiceException:
- hibernate异常Unable to create requested service [org.hibernate.engine.spi.CacheImple
- Spring4.1+Hibernate4.3报org.hibernate.cache.spi.RegionFactory或org.hibernate.engine.spi.CacheImplement
- spring hibernate 集成:spring使用容器JTA事务管理器
- **关于hibernate4.3版本之后org.hibernate.service.ServiceRegistryBuilder被弃用**
- org.hibernate.service.UnknownServiceException: Unknown service requested [org.hibernate.stat.spi.Sta
- org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine
- org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine
- Unable to create requested service [org.hibernate.engine.spi.CacheImple
- 中断串口接收方法
- 想微信一样的输入框textview 一次可以输入多行 textView的placeholder提示框
- C语言(4)------基本数据类型之整数数据类型
- 算法 Tricks(四)—— 获取一个数二进制形式第一个不为 0 的位置
- 多线程---数据共享
- spring 集成 Hibernate4.3.X org.hibernate.service.jta.platform.spi.JtaPlatform异常
- HPUX系统备份需要确认的设定
- Scanner的常用方法
- RecycleView实现侧滑和拖动
- 一切都是对象(一)
- 驱动VS1003要注意的事项
- 自定义View之_日历控件
- 欢迎使用CSDN-markdown编辑器
- 安装完Oracle数据库,给scott账户解锁方法