Spring Tomcat application construction failes after java buildpack updates paketo-buildpacks/spring-boot to v5.29.0 #282
ksantosejie
started this conversation in
General
Replies: 1 comment 5 replies
-
Thanks for raising this up. Looking into it. Hope to have something more soon. You can follow https://github.com/orgs/paketo-buildpacks/discussions/282 for more details, but we'll try to update this thread as well. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm a newcomer to this Paketo world. We have a Spring MVC application that generates a .war file, which is then deployed on a Tomcat. All of this was working fine until the Java Paketo buildpack upgrades and spring boot Paketo buildpack version was updated to v5.29.0. Since that update, we always get the following message: "unable to find Spring Boot Executable Jar" Our application is not a Spring Boot application, so indeed, there is no .jar file.
Analyzing the updated code, we see that the error comes from this check in the build.go file.
In previous versions, it was done in a different way.
So, if there wasn't a .jar file, as was our case, the Spring Boot Paketo did nothing and that was fine. Now, this generates an error.
We don't know if there's a way to bypass this validation or indicate that our application is not a Spring Boot application, so this part of the code doesn't execute.
Any help would be appreciated, as you can see, we're beginners in all of this.
Beta Was this translation helpful? Give feedback.
All reactions