You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Smartree (JIRA)" <ji...@apache.org> on 2011/09/08 10:25:09 UTC

[jira] [Commented] (CASSANDRA-1236) when I start up the cassandra-cli, a ClassNotFoundException occured:java.lang.ClassNotFoundException: org.apache.cassandra.cli.CliMain

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

Smartree commented on CASSANDRA-1236:
-------------------------------------

Need the CASSANDRA_HOME system variable,
or Run the bat in CMD from Directory of "CASSANDRA_HOME">bin\cassandra-cli

> when I start up the cassandra-cli, a ClassNotFoundException occured:java.lang.ClassNotFoundException: org.apache.cassandra.cli.CliMain
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1236
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1236
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.6.2
>         Environment: windows XP
>            Reporter: ialand
>            Assignee: Gary Dusbabek
>            Priority: Minor
>             Fix For: 0.6.4
>
>         Attachments: cassandra-cli
>
>
> After start up the cassandra server, I went to the bin/ directory and run the cassandra-cli, but there's an Exception throwed out, I have set the CASSANDRA_HOME system variable,  I don't know why
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/cassandra/cli/CliMain
> Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.cli.CliMain
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

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