Cannot locate launcher: /root/.m2/repository/.../spring-boot-thin-launcher-1.0.27.RELEASE-exec.jar
cohenran opened this issue · 1 comments
cohenran commented
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:
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).
dsyer commented
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?