[
https://issues.apache.org/jira/browse/CASSANDRA-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13100286#comment-13100286
]
Jonathan Ellis commented on CASSANDRA-1236:
-------------------------------------------
Smartree,
1) please submit changes as a patch generated by svn diff
2) adding lib/*.jar is done by cassandra.in.sh (the CASSANDRA_INCLUDE searched
for at the beginning of -cli). There's no need to do it a second time in the
cli script.
> 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