Le 9/5/12 8:05 PM, Scott Dudley a écrit :
Constructed a snippet IAW "Embedding SSHD in 5 minutes"
(http://mina.apache.org/sshd/embedding-sshd-in-5-minutes.html) using
mina-core-2.0.5.jar and sshd-core-0.7.0.jar and am getting the
following Exception:
java.lang.NoSuchMethodError:
org.apache.mina.core.service.IoAcceptor.bind(Ljava/net/SocketAddress;)V
at org.apache.sshd.SshServer.start(SshServer.java:348)
at SshServerTest.main(SshServerTest.java:46)
I extracted and decompiled the abstract class IoAcceptor and see that
there is no such method however, there is one that takes an array.
What am I missing?
Hmmm... I think SSHD-0.7.0 is depending on mina-core 2.0.4, not 2.0.5.
I just tested sshd-0.8.0-SNAPSHOT with mina-core-2.0.5, seems to work
like a charm.
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com