Skip to content

Spring aot code generation does not support StateMachineConfigBuilder #1172

@YCyberNexus

Description

@YCyberNexus

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    status/need-triageTeam needs to triage and take a first look

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions