-
Couldn't load subscription status.
- Fork 38.8k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: bugA general bugA general bug
Milestone
Description
Burkhard Graves opened SPR-11250 and commented
Hello everybody,
I would like to point out a problem which i already described here and here.
I've attached a simple maven project containing a test which succeeds in Spring-3 but fails in Spring-4. In short: Beans defined ex. via RootBeanDefinition(s) can't be autowired if
<context:annotation-config/>
is used. If using a AutowiredAnnotationBeanPostProcessor only, the problem disappears.
I guess it's due to the changes in AnnotationConfigUtils#registerAnnotationConfigProcessors().
Any ideas, hints?
Regards,
Burkhard
Affects: 4.0 GA
Attachments:
- spring4.zip (3.83 kB)
Issue Links:
- Upgrading spring from 3.2 to 4 - Issue with generics (extends) [SPR-11382] #16009 Upgrading spring from 3.2 to 4 - Issue with generics (extends)
- ResolvableType.isAssignableFrom() failure for raw types [SPR-11414] #16041 ResolvableType.isAssignableFrom() failure for raw types
- DATACMNS-424 Injection of PagedResourcesAssembler fails on Spring 4.0.1 snapshots
0 votes, 7 watchers
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: bugA general bugA general bug