无法在JBOSS EAP 6.3上使用Spring 2.5.6创建transactionManager(JTA)bean
我得到了这个错误:无法在JBOSS EAP 6.3上使用Spring 2.5.6创建transactionManager(JTA)bean,spring,jta,jboss6.x,spring-transactions,transactionmanager,Spring,Jta,Jboss6.x,Spring Transactions,Transactionmanager,我得到了这个错误: Error creating bean with name 'wsJtaTm' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean
Error creating bean with name 'wsJtaTm' defined in ServletContext resource [/WEB-INF/applicationContext.xml]:
Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class
[org.springframework.transaction.jta.JotmFactoryBean]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: stub class initialization failed
我使用下面的代码为Jboss创建txnmanager
bean
正确加载和配置数据源和JNDI
applicationcontext.xml
<bean id="wsJtaTm" class="org.springframework.transaction.jta.JotmFactoryBean" />
<bean id="transactionManager" class="org.springframework.transaction.jta.JtaTransactionManager">
<property name="userTransaction" ref="wsJtaTm" />
</bean>
我的代码有什么问题