You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2012/05/22 00:21:41 UTC
[jira] [Commented] (CASSANDRA-4267) cassandra-stress.bat can't find
o.a.c.stress.Stress
[ https://issues.apache.org/jira/browse/CASSANDRA-4267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13280553#comment-13280553 ]
Jonathan Ellis commented on CASSANDRA-4267:
-------------------------------------------
I get the same CNFE with this patch applied.
Slightly odd to have it change my cwd out from under me, too.
> cassandra-stress.bat can't find o.a.c.stress.Stress
> ---------------------------------------------------
>
> Key: CASSANDRA-4267
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4267
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 1.1.0
> Reporter: Mike Bulman
> Assignee: Mike Bulman
> Fix For: 1.1.1
>
> Attachments: 0001-CASSANDRA-4267.patch
>
>
> Output below. When trying to add tools/lib/*.jar to classpath, the wildcard isn't expanding to stress.jar.
> {noformat}
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/cassandra/
> stress/Stress
> Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.stress.Stress
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> Could not find the main class: org.apache.cassandra.stress.Stress. Program will
> exit.
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira