Skip to content

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

@cohenran

Description

@cohenran

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions