{"action":"opened","issue":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-cli/issues/80","repository_url":"https://api.github.com/repos/spring-cloud/spring-cloud-cli","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-cli/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-cli/issues/80/comments","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-cli/issues/80/events","html_url":"https://github.com/spring-cloud/spring-cloud-cli/issues/80","id":385121314,"node_id":"MDU6SXNzdWUzODUxMjEzMTQ=","number":80,"title":"Failed to run spring cloud cli ","user":{"login":"etxian","id":2733524,"node_id":"MDQ6VXNlcjI3MzM1MjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2733524?v=4","gravatar_id":"","url":"https://api.github.com/users/etxian","html_url":"https://github.com/etxian","followers_url":"https://api.github.com/users/etxian/followers","following_url":"https://api.github.com/users/etxian/following{/other_user}","gists_url":"https://api.github.com/users/etxian/gists{/gist_id}","starred_url":"https://api.github.com/users/etxian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etxian/subscriptions","organizations_url":"https://api.github.com/users/etxian/orgs","repos_url":"https://api.github.com/users/etxian/repos","events_url":"https://api.github.com/users/etxian/events{/privacy}","received_events_url":"https://api.github.com/users/etxian/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-28T06:31:46Z","updated_at":"2018-11-28T06:31:46Z","closed_at":null,"author_association":"NONE","body":"I'm trying to install the spring-cloud-cli through the springboot cli (version 2.1.0.RELEASE) with the following command:\r\n`spring install org.springframework.cloud:spring-cloud-cli:2.0.0.RELEASE`\r\n\r\nThe installation completes without any error. However, when I try any spring cloud command, I got the following error:\r\n\r\n`Exception in thread \"main\" java.lang.reflect.InvocationTargetException\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)\r\n\tat org.springframework.boot.loader.Launcher.launch(Launcher.java:87)\r\n\tat org.springframework.boot.loader.Launcher.launch(Launcher.java:50)\r\n\tat org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)\r\nCaused by: java.lang.NoSuchMethodError: org.springframework.cloud.launcher.cli.LauncherCommand$LauncherOptionHandler.option(Ljava/util/Collection;Ljava/lang/String;)Ljoptsimple/OptionSpecBuilder;\r\n\tat org.springframework.cloud.launcher.cli.LauncherCommand$LauncherOptionHandler.options(LauncherCommand.java:89)\r\n\tat org.springframework.boot.cli.command.options.OptionHandler.getParser(OptionHandler.java:68)\r\n\tat org.springframework.boot.cli.command.options.OptionHandler.run(OptionHandler.java:83)\r\n\tat org.springframework.boot.cli.command.OptionParsingCommand.run(OptionParsingCommand.java:54)\r\n\tat org.springframework.boot.cli.command.CommandRunner.run(CommandRunner.java:219)\r\n\tat org.springframework.boot.cli.command.CommandRunner.runAndHandleErrors(CommandRunner.java:171)\r\n\tat org.springframework.boot.cli.SpringCli.main(SpringCli.java:63)\r\n\t... 8 more`\r\n\r\nI also tried other versions of spring-cloud-cli, 1.3.1.RELEASE and 2.0.1.BUILD-SNAPSHOT but still getting the same error. What am I missing? BTW my jdk version is 1.8.0_121."}}
{"actor":{"display_login":"etxian"}}