-
Patch
-
Resolution: Done
-
Minor
-
jBPM 4.0
JPBM4 cannot be integrated with spring 1.2.
I get the following exceptions when I try to deploy a process definition:
java.lang.NoSuchMethodError: org.springframework.transaction.support.TransactionTemplate.(Lorg/springframework/transaction/PlatformTransactionManager;Lorg/springframework/transaction/TransactionDefinition;)V
org.jbpm.pvm.internal.tx.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:77)
org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:54)
org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
org.jbpm.pvm.internal.repository.DeploymentImpl.deploy(DeploymentImpl.java:89).
The cause of the error is that the constructor "public TransactionTemplate(PlatformTransactionManager transactionManager, TransactionDefinition transactionDefinition)" (which is used in SpringTransactionInterceptor) only exists in spring 2 (and onwards) and not in spring 1.2.