[
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