Currently refactoring an old tomcat deployed Spring JSP .war application to a Docker SpringBoot app. I am using the spring-boot maven plugin to build docker images.
While running the image locally, on startup there is a warning:
Resource for web application [] at path [/spring-cloud-bindings-1.11.0.jar] was not
loaded as the canonical path [cks_spring-boot/spring-cloud-bindings/spring-cloud-
bindings-1.11.0.jar] did not match. Use of symlinks is one possible cause.
Inside the image within the lib directory we can see there is a symlink:
From what I have read, this issue is likely due to character encoding inconsistencies. Looking for advice on how to fix this.
Aside from a fix, I would like to know why symlinks are created and why there is a reference to the packeto-buildpacks in the final build.