Tomcat,JTA ,atomikos not cast to spring transaction
reference is
http://blog.springsource.org/2011/08/15/configuring-spring-and-jta-without-full-java-ee/
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
Factory method [public
org.springframework.batch.core.configuration.annotation.StepBuilderFactory
org.springframework.batch.core.configuration.annotation.AbstractBatchConfiguration.stepBuilders()
throws java.lang.Exception] threw exception; nested exception is
java.lang.ClassCastException:
com.atomikos.icatch.jta.UserTransactionManager cannot be cast to
org.springframework.transaction.PlatformTransactionManager
No comments:
Post a Comment