-
Notifications
You must be signed in to change notification settings - Fork 40.5k
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
Maven process-aot fails when compiler plugin has been configured with --enable-preview #33012
Comments
You can get past that initial problem by adding
This can't be addressed by configuration in the pom file and will require a change in Boot's Maven plugin. |
With the latest Spring Boot <plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<jvmArguments>--enable-preview</jvmArguments>
<compilerArguments>--enable-preview</compilerArguments>
</configuration>
</plugin> |
I noticed you have moved all of the graalvm native-maven-plugin configuration to spring-boot-parent, and I also found this
I follow it ,wrote this to my pom.xml
But it did work.here is the log
Environment:
openjdk version "19.0.1" 2022-10-18 OpenJDK Runtime Environment GraalVM CE 22.3.0 (build 19.0.1+10-jvmci-22.3-b08) OpenJDK 64-Bit Server VM GraalVM CE 22.3.0 (build 19.0.1+10-jvmci-22.3-b08, mixed mode, sharing)
The text was updated successfully, but these errors were encountered: