Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-4267

cassandra-stress.bat can't find o.a.c.stress.Stress

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • 1.1.2
    • Legacy/Tools
    • None
    • Normal

    Description

      Output below. When trying to add tools/lib/*.jar to classpath, the wildcard isn't expanding to stress.jar.

      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.
      

      Attachments

        1. 0001-CASSANDRA-4267-V2.patch
          0.7 kB
          Mike Bulman
        2. 0001-CASSANDRA-4267.patch
          0.7 kB
          Mike Bulman

        Activity

          People

            mbulman Mike Bulman
            mbulman Mike Bulman
            Mike Bulman
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: