Skip to content

AOT process failed because Spring aot code generation does not support StateMachineConfigBuilder #43753

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
YCyberNexus opened this issue Jan 9, 2025 · 3 comments
Labels
for: external-project For an external project and not something we can fix status: duplicate A duplicate of another issue

Comments

@YCyberNexus
Copy link

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.
9135aa4418a17a0f4a6ef9ff0a4c6691
a067b925ab1fddcd3cbcf9c2d0114730

My plugin version is shown in the following figure.
wecom-temp-386790-90e304a69bfbfa31602cbb925f27af3e

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

  1. I used the native gradle plugin and run the nativeCompile.

Additional Context

No response

Build Log Output and Error Messages

No response

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jan 9, 2025
@wilkinsona
Copy link
Member

wilkinsona commented Jan 9, 2025

Duplicates spring-projects/spring-statemachine#1080 which I see you've already commented on.

@wilkinsona wilkinsona closed this as not planned Won't fix, can't repro, duplicate, stale Jan 9, 2025
@wilkinsona wilkinsona added status: duplicate A duplicate of another issue for: external-project For an external project and not something we can fix and removed status: waiting-for-triage An issue we've not yet triaged labels Jan 9, 2025
@YCyberNexus

This comment was marked as off-topic.

@wilkinsona

This comment was marked as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: external-project For an external project and not something we can fix status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

3 participants