You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an application uses config first bootstrap (by configuring spring.config.use-legacy-processing=true or using the spring-cloud-starter-bootstrap dependency), AOT processing is not supported.
While this limitation is documented, an application that transitively depends on the starter will see the following behavior:
AOT processing succeeds and generates source files
the application fails at startup both in native and JVM modes, as bean definitions for the application and auto-configurations were not parsed.
Adding an AOT processor in the starter (and declaring it in aot.factories) that throws a hard failure during AOT processing, describing the problem, could help diagnose such issues.
The text was updated successfully, but these errors were encountered:
@PorcoRosso5 as indicated above and as documented, this is not supported. This issue is only here to add a straightforward exception when someone tries to process an app with bootstrap with AOT.
When an application uses config first bootstrap (by configuring
spring.config.use-legacy-processing=true
or using thespring-cloud-starter-bootstrap
dependency), AOT processing is not supported.While this limitation is documented, an application that transitively depends on the starter will see the following behavior:
Adding an AOT processor in the starter (and declaring it in
aot.factories
) that throws a hard failure during AOT processing, describing the problem, could help diagnose such issues.The text was updated successfully, but these errors were encountered: