0

I encounter a few unreasonable issues with a Spring Shell app which has the dependency as

    <dependency>
        <groupId>org.springframework.shell</groupId>
        <artifactId>spring-shell-starter</artifactId>
        <version>2.1.0-SNAPSHOT</version>
    </dependency>

The availability of a command method works fine when the app is running inside of Intellij Idea, but not on a command line with

java -jar target/my-app.jar

Why?

vic
  • 2,548
  • 9
  • 44
  • 74

1 Answers1

0

Try using the latest GA version of Spring Shell instead of a SNAPSHOT:

<dependency>
    <groupId>org.springframework.shell</groupId>
    <artifactId>spring-shell-starter</artifactId>
    <version>2.1.4</version>
</dependency>
DaShaun
  • 3,722
  • 2
  • 27
  • 29