AOT process failed because Spring aot code generation does not support StateMachineConfigBuilder #43753
Labels
for: external-project
For an external project and not something we can fix
status: duplicate
A duplicate of another issue
Describe the Issue
org.springframework.aot.generate.UnsupportedTypeValueCodeGenerationException: Code generation does not support org.springframework.statemachine.config.builders.StateMachineConfigBuilder
When I use gradle plugin ‘org.graalvm.buildtools.native’ to nativeCompile my spring boot 3 project, this error happens when processAot procedure. The details of the error are shown in the figure.


My plugin version is shown in the following figure.

GraalVM Version
GraalVM 21.0.5 -VM 23.1.5
Operating System and Version
Windows10
Build Command
no build command
Expected Behavior
I am expecting to solve this problem and success to native compile.
Actual Behavior
processAot FAILED
Caused by: org.springframework.aot.generate.UnsupportedTypeValueCodeGenerationException: Code generation does not support org.springframework.statemachine.config.builders.StateMachineConfigBuilder
Steps to Reproduce
Additional Context
No response
Build Log Output and Error Messages
No response
The text was updated successfully, but these errors were encountered: