-
Notifications
You must be signed in to change notification settings - Fork 40.8k
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
Image building fails with an unhelpful error message when building an image from a jar that includes the launch script #22223
Comments
Thanks for the report. Unfortunately, we can’t accurately diagnose the problem without know more about your build and its web project. It would appear that the web project doesn’t produce a binary that any of the builder’s buildpacks recognise. If you would like us to spend some more time investigating, please spend some time providing a complete yet minimal sample that reproduces the problem. You can share it with us by pushing it to a separate repository on GitHub or by zipping it up and attaching it to this issue. |
The bootJar task in web project includes launchScript. Thanks for your support! |
Thanks. Glad to hear that you figured it out. I think we should fail earlier and improve the error message so that it’s more obvious what the problem is. |
I tried to execute bootBuildImage task in gradle multi-module project, but I couldn't create the image because the task failed.
I checked that bootBuildImage task in a single gradle project succeeded in my local machine.
Is executing in multi-module project the cause of the failure?
Spring Boot: 2.3.1.RELEASE
Gradle: 6.4.1
The text was updated successfully, but these errors were encountered: