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

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.0.0
    • 4.0.1
    • Documentation, Tests
    • None
    • 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

            randgalt Jordan Zimmerman
            moulliet Greg Moulliet
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: