Hi all,

Quite new to this, searched the forums, but seem to have a classpath issue. It would be very nice if http://mina.apache.org/sshd/embedding-sshd-in-5-minutes.html had a section on the classpath
setup.

My code for an SSHD class is simple enough, follows the 'embedding' webpage, doesn't do shell or commands.

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/ impl/StaticLoggerBinder
        at org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:60)
at org .apache .sshd.common.AbstractFactoryManager.<init>(AbstractFactoryManager.java: 37)
        at org.apache.sshd.SshServer.<init>(SshServer.java:105)
        at org.apache.sshd.SshServer.setUpDefaultServer(SshServer.java:238)
        at com.skyworthttg.samples.sshd.SSHD.main(SSHD.java:13)

I have mina-core-2.0.0-M6.jar in the classpath, along with all the .jar from the zip's ./lib directory.

The SLF4J impl jar must not be distributed with 2.0.0-M6?

Is that the only missing dependency?

Thanks,
--Kent

Reply via email to