spring-boot-thin-launcher icon indicating copy to clipboard operation
spring-boot-thin-launcher copied to clipboard

Cannot locate launcher: /root/.m2/repository/.../spring-boot-thin-launcher-1.0.27.RELEASE-exec.jar

Open cohenran opened this issue 2 years ago • 1 comments

When I maven build my project, all is good. When I try to run it, I get:

Exception in thread "main" java.lang.IllegalStateException: Cannot locate launcher: /root/.m2/repository/org/springframework/boot/experimental/spring-boot-thin-
launcher/1.0.27.RELEASE/spring-boot-thin-launcher-1.0.27.RELEASE-exec.jar
        at org.springframework.boot.loader.wrapper.ThinJarWrapper.launch(ThinJarWrapper.java:131)
        at org.springframework.boot.loader.wrapper.ThinJarWrapper.main(ThinJarWrapper.java:107)

I have this files in my maven directory: image This happens on a fresh ubuntu install (The same project worked on an old ubuntu install, and it doesn't work in the new one).

cohenran avatar Jun 28 '23 15:06 cohenran

1.0.27 is quite old. Probably you should try 1.0.31. In any case the error indicates that you can't locate the launcher - are you disconnected from the internet? Did you warm up the local cache with --dry-run?

dsyer avatar Sep 21 '23 08:09 dsyer