Details
-
Task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
4.0.0
-
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.