karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-709) java -jar lib/bin/karaf-client.jar = java.lang.NoClassDefFoundError: org/apache/sshd/common/RuntimeSshException
Date Tue, 05 Jul 2011 00:20:21 GMT

    [ https://issues.apache.org/jira/browse/KARAF-709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13059646#comment-13059646
] 

Freeman Fang commented on KARAF-709:
------------------------------------

Hi,

Now we have a client script in KARAF_HOME/bin folder, so you  shouldn't use java -jar lib/bin/karaf-client.jar

run
./client -u smx -p smx instead
then you can start a karaf client

Take a look at [1] to get more details
[1]http://karaf.apache.org/manual/2.2.3-SNAPSHOT/users-guide/remote-console.html

Freeman

> java -jar lib/bin/karaf-client.jar = java.lang.NoClassDefFoundError: org/apache/sshd/common/RuntimeSshException
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-709
>                 URL: https://issues.apache.org/jira/browse/KARAF-709
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.2
>            Reporter: chris snow
>            Assignee: Freeman Fang
>
> I'm not sure if I'm doing something wrong, but I'm receiving an error running karaf-client.jar
: 
> user1@d100:~/apps/apache-karaf-2.2.2$ java -jar lib/bin/karaf-client.jar 
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/sshd/common/RuntimeSshException
> Caused by: java.lang.ClassNotFoundException: org.apache.sshd.common.RuntimeSshException
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
> Could not find the main class: org.apache.karaf.client.Main. Program will exit.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message