Caused by:
org.springframework.transaction.TransactionSystemException: Could not initialize WebLogicJtaTransactionManager because WebLogic API classes are not available; nested exception is java.lang.ClassNotFoundException: weblogic.transaction.TxHelper
Caused by:
java.lang.ClassNotFoundException: weblogic.transaction.TxHelper 配置是 <bean id="transactionManager" class="org.springframework.transaction.jta.WebLogicJtaTransactionManager">
<property name="transactionManagerName" value="javax.transaction.TransactionManager"/>
</bean>
org.springframework.transaction.TransactionSystemException: Could not initialize WebLogicJtaTransactionManager because WebLogic API classes are not available; nested exception is java.lang.ClassNotFoundException: weblogic.transaction.TxHelper
Caused by:
java.lang.ClassNotFoundException: weblogic.transaction.TxHelper 配置是 <bean id="transactionManager" class="org.springframework.transaction.jta.WebLogicJtaTransactionManager">
<property name="transactionManagerName" value="javax.transaction.TransactionManager"/>
</bean>
现在在spring里面如此配置 报这个错误
是在这个TxHelper类是有的 import能导入 我从jar里面找也能找到
不知道就是为什么说ClassNotFoundException
9才支持jdk5
和你开发的jdk版本,以及spring版本都有关系