Closed
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: