Closed toohandsome closed 1 year ago
This happens due to the order of Proxy instances requested during or after the creation/initialization of a bean, as per the docs on Dynamic Proxy in the GraalVM website.
In practice, you should use a GraalVM-based JDK and let the tracing agent correctly detect which Proxy classes and other resources are required and then automatically generate the *-config.json files. Check out the GraalVM docs on the tracing agent.
hello guys, could you help me?
I hava already add
in @SpringBootApplication DemoApplication, but still get error.
My environment is: GraalVM CE 22.2.0 (build 17.0.4+8-jvmci-22.2-b06) Spring Boot: 2.7.3 spring-aot-maven-plugin: 0.12.1
After compiling ( mvn clean package -DskipTests -Pnative ) when I run my program, I get the above error.
Please find my minimal code sample here : https://github.com/toohandsome/springnative
Thanks