Skip to content

Commit c67f825

Browse files
committed
- fix native image issue
1 parent 28e2667 commit c67f825

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.sdkmanrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Enable auto-env through the sdkman_auto_env config
2+
# Add key=value pairs of SDKs to use below
3+
java=22-tem

pom.xml

+7-4
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,13 @@
9595
<plugin>
9696
<groupId>org.graalvm.buildtools</groupId>
9797
<artifactId>native-maven-plugin</artifactId>
98-
</plugin>
99-
<plugin>
100-
<groupId>org.springframework.boot</groupId>
101-
<artifactId>spring-boot-maven-plugin</artifactId>
98+
<configuration>
99+
<buildArgs>
100+
<buildArg>
101+
--initialize-at-build-time=org.springframework.boot.loader.nio.file.NestedFileSystemProvider
102+
</buildArg>
103+
</buildArgs>
104+
</configuration>
102105
</plugin>
103106
</plugins>
104107
</build>

0 commit comments

Comments
 (0)