Bean definition overridden when starting application in aot mode #33926
Labels
for: external-project
For an external project and not something we can fix
status: invalid
An issue that we don't feel is valid
The project is compiled with native profile and started with -Dspring.aot.enabled=true, and I got following exception.
After setting org.springframework.context.annotation.ClassPathBeanDefinitionScanner#includeAnnotationConfig to false, the issue was gone.
The text was updated successfully, but these errors were encountered: