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

Mike Bulman commented on CASSANDRA-4267:
----------------------------------------

As long as you ignore the multiple bindings warning it shouldn't be blocked.  
The bat file has its own way of figuring out CLASSPATH
                
> 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.2
>
>         Attachments: 0001-CASSANDRA-4267-V2.patch, 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

        

Reply via email to