79122357

Date: 2024-10-24 14:20:30
Score: 0.5
Natty:
Report link

Turns out the configuration of the spring-boot-maven-plugin was wrong. The configuration <layout>ZIP<layout> was only active for the repackage goal, but not for the build-image goal.

After correctly configuring <layout>ZIP<layout> for the build-image goal, the generated buildpack-image uses the org.springframework.boot.loader.launch.PropertiesLauncher which allows again the use of the LOADER_PATH.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Benny