0
截至目前,我们正在使用weblogic服务器。所以我们使用webLogicJtaTransactionManager,如下所示。如何将WebLogicJtaTransactionManager转换为支持tomcat的TransactionManager
<bean id="transaction manager" class="org.springframework.transaction.jta.WebLogicJtaTransactionManager" >
<parameter="transactionManagerName" value="javax.transaction.TransactionManger" />
</bean>
现在我想改变上面的XML到tomcat支持的transactionManger。你可以请帮助如何改变这一点。我试图在tomcat服务器中调用deployee,但是出现了以下错误。
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.transaction.TransactionSystemException: Could not initialize WebLogicJtaTransactionManager because WebLogic API classes are not available; nested exception is java.lang.ClassNotFoundException: weblogic.transaction.TransactionHelper
你可以考虑接受答案或回到你的一些旧问题。你好像有很多人在说谎。 – eis