Migrated Spring Boot to Native Image with GraalVM, but Object are returning null
I have migrated my Spring Boot application to a native image using GraalVM, but I’m encountering an issue where objects are returning null in HTTP POST and HTTP PUT responses. The requests successfully return 201
or 200
status codes, but the response body is empty.
SpringBoot 3.3.0-RC1 + GraalVM22 + pointsto.constraints.UnsupportedFeatureException org.springframework.boot.loader.nio.file.NestedFileSystemProvider
Include details about your goal use latest (as of this writing) Spring Boot 3.3.0-RC1, GraalVM 22 to build a native image. Describe expected results The image is expected to be built without issue. Describe actual results Error: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: An object of type ‘org.springframework.boot.loader.nio.file.NestedFileSystemProvider’ was found in the image heap. This type, however, is marked for […]