I have installed Boot CLI 2.1.5.
Then installed Cloud Cli 2.0.0 (think this is the latest available)
From the bin folder of the Boot CLI:
admins-MacBook-Pro-32549:bin aboyko$ pwd
/Users/aboyko/spring-2.1.5.RELEASE/bin
admins-MacBook-Pro-32549:bin aboyko$ cd ../..
admins-MacBook-Pro-32549:~ aboyko$ cd spring-2.1.5.RELEASE
admins-MacBook-Pro-32549:spring-2.1.5.RELEASE aboyko$ cd bin
admins-MacBook-Pro-32549:bin aboyko$ pwd
/Users/aboyko/spring-2.1.5.RELEASE/bin
admins-MacBook-Pro-32549:bin aboyko$ ./spring --version
Spring CLI v2.1.5.RELEASE
admins-MacBook-Pro-32549:bin aboyko$ ./spring cloud
'cloud' is not a valid command. See 'help'.
admins-MacBook-Pro-32549:bin aboyko$ ./spring install org.springframework.cloud:spring-cloud-cli:2.0.0.RELEASE
Installing into: /Users/aboyko/spring-2.1.5.RELEASE/lib/ext
admins-MacBook-Pro-32549:bin aboyko$ ./spring cloud --version
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
Caused by: java.lang.NoSuchMethodError: org.springframework.cloud.launcher.cli.LauncherCommand$LauncherOptionHandler.option(Ljava/util/Collection;Ljava/lang/String;)Ljoptsimple/OptionSpecBuilder;
at org.springframework.cloud.launcher.cli.LauncherCommand$LauncherOptionHandler.options(LauncherCommand.java:89)
at org.springframework.boot.cli.command.options.OptionHandler.getParser(OptionHandler.java:68)
at org.springframework.boot.cli.command.options.OptionHandler.run(OptionHandler.java:83)
at org.springframework.boot.cli.command.OptionParsingCommand.run(OptionParsingCommand.java:54)
at org.springframework.boot.cli.command.CommandRunner.run(CommandRunner.java:219)
at org.springframework.boot.cli.command.CommandRunner.runAndHandleErrors(CommandRunner.java:171)
at org.springframework.boot.cli.SpringCli.main(SpringCli.java:63)
... 8 more
admins-MacBook-Pro-32549:bin aboyko$
I have installed Boot CLI 2.1.5. Then installed Cloud Cli 2.0.0 (think this is the latest available) From the
bin
folder of the Boot CLI: