cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-4267) cassandra-stress.bat can't find o.a.c.stress.Stress
Date Tue, 22 May 2012 15:21:40 GMT

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

Jonathan Ellis commented on CASSANDRA-4267:
-------------------------------------------

I get this after applying the patch and {{ant clean jar}? in my 1.1 branch:

{noformat}
C:\Users\Jonathan\projects\cassandra\git>echo %CASSANDRA_HOME%
%CASSANDRA_HOME%

C:\Users\Jonathan\projects\cassandra\git>tools\bin\cassandra-stress
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(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: org.apache.cassandra.stress.Stress.  Program will exit.
{noformat}
                
> 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-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

        

Mime
View raw message