-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
in: webAn issue in web modules (web, webmvc)An issue in web modules (web, webmvc)type: bugA general bugA general bug
Milestone
Description
The new changes added via #14128 introduced a BeanDefinitionRegistryPostProcessor
that, among other things, register a HandlerMappingIntrospectorRequestTransformer
bean.
The problem arises from the fact that the BeanFactoryPostProcessor
s are invoked during AOT processing and once more at runtime, leading to a duplicate bean exception.
Usually org.springframework.beans.factory.config.BeanFactoryPostProcessor
beans are excluded since they have contributed their bean definitions code generated during AOT build phase.
Related:
donhuvy, NicklasWallgren, theotherp, Eng-Fouad, magiccrafter and 2 more
Metadata
Metadata
Assignees
Labels
in: webAn issue in web modules (web, webmvc)An issue in web modules (web, webmvc)type: bugA general bugA general bug