Closed w0fv1 closed 1 year ago
Replenish: I read the documentation, but I still don't understand what should I do?
The mouse is in the wrong place
The org.springframework.experimental.aot
plugin (with experimental
in the name) is only for use with Spring Boot 2.7.x. With Spring Boot 3.x it is not required, as shown in the Spring Boot documentation.
Thank you. I have other problems now, can't verify, but logically it should just be me being stupid
Spring Native is now superseded by Spring Boot 3 official native support, see the related reference documentation for more details.
As a consequence, I am closing this issue, and recommend trying your use case with latest Spring Boot 3 version. If you still experience the issue reported here, please open an issue directly on the related Spring project (Spring Framework, Data, Security, Boot, Cloud, etc.) with a reproducer.
Thanks for your contribution on the experimental Spring Native project, we hope you will enjoy the official native support introduced by Spring Boot 3.
Here is a minimal achievable example
How to use the 'org.springframework.experimental.aot' plugin?
Description:
I'm trying spring native, I used graalvm:
If I don't add the org.springframework.experimental.aot plug-in, everything is fine, and the binary file can be compiled.
But if I add the
org.springframework.experimental.aot plugin
, the gradle build failsHere is the build.gradle file content, you can also see it here
My English is not good, if you don't understand, please ask me a few more words, and urge Google Translate to do better.
Thank you very much