I am not sure this is an issue but I ran out of ideas. This worked in Play! 1.0 and the Spring module, but it is erroring out in Play! 2.0 with the Spring4Play2 stuff. Basically, I have a service bean that is annotated with the following:
@Transactional(value = "ldap", propagation = Propagation.REQUIRES_NEW)
In my application-context.xml file, I have the following:
<tx:annotation-driven transaction-manager="transactionManager"/>
<bean id="transactionManager" class="org.springframework.ldap.transaction.compensating.manager.ContextSourceTransactionManager">
<property name="contextSource"><ref bean="ldapContextSource"/></property>
<qualifier type="org.springframework.transaction.annotation.Transactional" value="ldap"/>
</bean>
It is bombing out with the following message:
[IllegalStateException: No matching PlatformTransactionManager bean found for qualifier 'ldap' - neither qualifier match nor bean name match!]
I am not sure this is an issue but I ran out of ideas. This worked in Play! 1.0 and the Spring module, but it is erroring out in Play! 2.0 with the Spring4Play2 stuff. Basically, I have a service bean that is annotated with the following:
In my application-context.xml file, I have the following:
It is bombing out with the following message:
[IllegalStateException: No matching PlatformTransactionManager bean found for qualifier 'ldap' - neither qualifier match nor bean name match!]