ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samuel Blanchet" <sblanc...@sopragroup.com>
Subject Pb with SSHExec and JDK 1.3.1_04
Date Fri, 25 Apr 2003 07:01:11 GMT
Hi,

I'm using SSHExec task (ant 16a) and JDK1.3.1_04 but I have this PB :

  [sshexec] Connecting to hpx11.pa.sopra:22
  [sshexec] java.security.NoSuchAlgorithmException: DH KeyPairGenerator not
avai
lable

BUILD FAILED
java.lang.NoClassDefFoundError: javax/crypto/spec/DHParameterSpec
        at com.jcraft.jsch.jce.DH.getE(Unknown Source)
        at com.jcraft.jsch.jce.DHG1.init(Unknown Source)
        at com.jcraft.jsch.Session.receive_kexinit(Unknown Source)
        at com.jcraft.jsch.Session.connect(Unknown Source)
        at
org.apache.tools.ant.taskdefs.optional.ssh.SSHBase.openSession(SSHBas
e.java:209)
        at
org.apache.tools.ant.taskdefs.optional.ssh.SSHExec.execute(SSHExec.ja
va:173)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:225)
        at org.apache.tools.ant.Task.perform(Task.java:398)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1405)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:414)
        at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:144)

        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:225)
        at org.apache.tools.ant.Task.perform(Task.java:398)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1405)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1279)
        at org.apache.tools.ant.Main.runBuild(Main.java:611)
        at org.apache.tools.ant.Main.start(Main.java:198)
        at org.apache.tools.ant.Main.main(Main.java:245)

Total time: 7 seconds
java.lang.NoClassDefFoundError: javax/crypto/spec/DHParameterSpec
        at com.jcraft.jsch.jce.DH.getE(Unknown Source)
        at com.jcraft.jsch.jce.DHG1.init(Unknown Source)
        at com.jcraft.jsch.Session.receive_kexinit(Unknown Source)
        at com.jcraft.jsch.Session.connect(Unknown Source)
        at
org.apache.tools.ant.taskdefs.optional.ssh.SSHBase.openSession(SSHBas
e.java:209)
        at
org.apache.tools.ant.taskdefs.optional.ssh.SSHExec.execute(SSHExec.ja
va:173)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:225)
        at org.apache.tools.ant.Task.perform(Task.java:398)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1405)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:414)
        at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:144)

        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:225)
        at org.apache.tools.ant.Task.perform(Task.java:398)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1405)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1279)
        at org.apache.tools.ant.Main.runBuild(Main.java:611)
        at org.apache.tools.ant.Main.start(Main.java:198)
        at org.apache.tools.ant.Main.main(Main.java:245)
javax/crypto/spec/DHParameterSpec


Could you help me ?????

Sam

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message