java.lang.IllegalStateException: Annotation-specified bean name 'portalUserRequestData' for bean class [XXXX.PortalUserRequestData] conflicts with existing, non-compatible bean definition of same name and class [org.springframework.aop.scope.ScopedProxyFactoryBean]
I've got a PortalUserRequestData bean declared as:
@Scope( "request" )
This is then injected in another bean as following:
private PortalUserRequestData portalUserRequestData;
and fails with the message above.
it can be noted that if the same bean is declared in XML (with scope=) and set on the other bean in xml (with set property, and ref="portalUserRequestData").
there's no problem - thus it's probably a bug in the spring core container.