Re: Exception in ExecResponse & SshjSshClient

2016-03-22 Thread 王逸群
Thanks! It did solve my problem! Best Regards, Yiqun Wang > On Mar 22, 2016, at 6:37 PM, Ignasi Barrera wrote: > > Since version 1.6.1, the groupId for all jclouds artifacts changed to > "org.apache.jclouds". Use it like in your other dependencies. > > >

Re: Exception in ExecResponse & SshjSshClient

2016-03-22 Thread Ignasi Barrera
Since version 1.6.1, the groupId for all jclouds artifacts changed to "org.apache.jclouds". Use it like in your other dependencies. org.apache.jclouds.driver jclouds-sshj 2.0.0-SNAPSHOT On 22 March 2016 at 11:24, 王逸群 wrote: > my dependency of jclouds-ssh is: > >

Re: Exception in ExecResponse & SshjSshClient

2016-03-22 Thread 王逸群
my dependency of jclouds-ssh is: org.jclouds.driver jclouds-sshj 1.6.0 version 2.0.0-SNAPSHOT is not available. Or should I use another group or artifactId? Ignasi Barrera 于2016年3月22日周二 下午5:47写道: > The issue is that it appears that you are adding the version 1.6.0 of > the

Re: Exception in ExecResponse & SshjSshClient

2016-03-22 Thread Ignasi Barrera
The issue is that it appears that you are adding the version 1.6.0 of the "jclouds-ssh" dependency. Could you upgrade that to 2.0.0-SNAPSHOT too? [INFO] +- org.jclouds.driver:jclouds-sshj:jar:1.6.0:compile [INFO] | +- org.jclouds:jclouds-compute:jar:1.6.0:compile [INFO] | | \-

Re: Exception in ExecResponse & SshjSshClient

2016-03-22 Thread 王逸群
hi, the output is shown below: [INFO] Scanning for projects... [INFO] [INFO] [INFO] Building EACdemo 1.0-SNAPSHOT [INFO] [INFO] [INFO] ---

Re: Exception in ExecResponse & SshjSshClient

2016-03-22 Thread Ignasi Barrera
It looks like you could have a mix of versions in your classpath. Could you share the output of running the "mvn dependency:tree" command in the root of *your* project? I. On 22 March 2016 at 09:25, 王逸群 wrote: > Hi, > I intend to use SshClient to execute some scripts.