Spring Blaze DS integration 1.5.0 M2 when used with Spring 3.1.0 M1 causes this exception -

org.springframework.beans.factory.NoSuchBeanDefini tionException:No unique bean of type [javax.persistence.EntityManagerFactory] is defined: expected single bean but found 2

The applications works fine with Spring Blaze DS integration 1.0.3 on Weblogic 10.3.4

I have just replaced the jar files and try to redeploy into Weblogic 10.3.4

It just works fine if used with Spring 3.0.5 jar files.

Can any one let me know why is this error?

Thanks