Skip to content

Retrieve Environment from RegisteredBean #3414

@christophstrobl

Description

@christophstrobl

When loaded via aot factories EnvironmentAware is no considered. Therefore the processor uses the default StandardEnvironment which will miss out on potential application properties and others forcing users to work around the issue eg. by updating maven plugin configuration with

<systemPropertyVariables>
    <spring.aot.data.accessors.enabled>false</spring.aot.data.accessors.enabled>
</systemPropertyVariables>

Metadata

Metadata

Labels

theme: aotAn issue related to Ahead-Of-Time processingtype: bugA general bug

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions