Error: Could not find or load main class org.springframework.boot.loader.JarLauncher

Опубликовано: 11 Март 2026
на канале: Alex Gutjahr
5,544
40

As of Spring Boot version 3.2.0-RC1, the class org.springframework.boot.loader.JarLauncher has been moved to org.springframework.boot.loader.launch.JarLauncher - if you have a Dockerfile for your Spring Boot application and use the JarLauncher as the entry point, you might bump into an error caused by java.lang.ClassNotFoundException: org.springframework.boot.loader.JarLauncher - update the path, and it should work again!

🙌 Get in Touch
Join my newsletter and say hi here https://axgr.dev/newsletter/?utm_camp...

🎙 Gear & Links
Mechanical Keyboard: https://x.axgr.dev/keyboard
Studio Camera: https://x.axgr.dev/studio-camera
Studio Lens: https://x.axgr.dev/studio-lens
Studio Mic: https://x.axgr.dev/studio-mic
Vlog Camera: https://x.axgr.dev/vlog-camera
Vlog Lens: https://x.axgr.dev/vlog-lens

All my affiliate links https://axgr.dev/deals/?utm_campaign=...

I may earn a small commission for purchases made through the links above at no additional cost to you.

🍿 Subscribe
Want to see more tech tutorials? Subscribe now!