Closed kworkbee closed 1 year ago
I'm afraid this looks like either a JDK or buildpack issue and probably won't be something we can fix in Spring Boot itself. Have you been able to replicate the problem by building your project directly without using buildpacks? Do you have a minimal reproducer project that you can share?
Hello @philwebb, You mean I can try to build the image myself by configuring Dockerfile or other methods without using Buildpack (bootBuildImage task), for confirming that the issue occurred from JDK / Buildpack?
You don't even have to use a Dockerfile, you can use Maven or Gradle directly, see this documentation.
@mhalbritter nativeCompile
task appears to be successful. But bootBuildImage
task still fails with same situation (that I described above).
(Just in case, I tried it on the CLI without using IntelliJ IDEA, but it's the same.)
Shouldn't this be raised with Bellsoft rather than here? From the error message:
[creator] # If you would like to submit a bug report, please visit:
[creator] # https://bell-sw.com/support
@philwebb @wilkinsona I've created a new project via start.spring.io and checked that the problem is still occurring, so it could be a Buildpack issue as you mentioned.
Shouldn't this be raised with Bellsoft rather than here? From the error message:
Yes, I agree. This doesn't look like something Spring Boot can fix.
Thank you for looking at it together. I'll ask this issue to Paketo Buildpacks first and close it.
It's happening even in the newly created project, so I think everyone will be affected, so I'll leave a link to the related issue just in case.
https://github.com/paketo-buildpacks/native-image/issues/297
I've created a new project via start.spring.io
@kworkbee When creating a Spring Boot 3.1 project, be sure to update the builder in the build configuration so you're getting the latest buildpacks. See this announcement for the details: https://spring.io/blog/2023/09/22/paketo-buildpacks-bionic-end-of-support.
Environment:
Detail Messages Below:
If a more detailed configuration is needed, please comment.