Uploaded image for project: 'Apache Curator'
  1. Apache Curator
  2. CURATOR-446

Compile error with tests using 4.0.0 and ZK 3.4.11 - need to update docs on how to use old test lib

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.0.1
    • Component/s: Documentation, Tests
    • Labels:
      None
    • Environment:
      gradle:
      compile('org.apache.zookeeper:zookeeper:3.4.11')
      testCompile ('org.apache.curator:curator-test:4.0.0') {
          exclude group: 'org.apache.zookeeper', module: 'zookeeper'
      }

      Description

      Attempting to start a test ZK gives the following error:

      Exception in thread "Thread-0" java.lang.NoSuchFieldError: configFileStr
      at org.apache.curator.test.QuorumConfigBuilder$1.<init>(QuorumConfigBuilder.java:142)
      at org.apache.curator.test.QuorumConfigBuilder.buildConfig(QuorumConfigBuilder.java:137)
      at org.apache.curator.test.TestingZooKeeperServer$1.run(TestingZooKeeperServer.java:157)
      at java.lang.Thread.run(Thread.java:745)

      Reverting back to 2.12.0 resolves the issue for me.

        Attachments

          Activity

            People

            • Assignee:
              randgalt Jordan Zimmerman
              Reporter:
              moulliet Greg Moulliet
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: