Hi,
I upgraded to ES 2.3.5 and changed my pom.xml accordingly, but i'm getting an exception (see below) which happens for all Elastic related class tests.
Exception :
août 18, 2016 3:48:23 PM com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler uncaughtException
AVERTISSEMENT: Uncaught exception in thread: Thread[SUITE-ElasticUpdateTest-seed#[690F6B4815D7B165],5,TGRP-ElasticUpdateTest]
java.lang.NoClassDefFoundError: Could not initialize class org.elasticsearch.common.Strings
at __randomizedtesting.SeedInfo.seed([690F6B4815D7B165]:0)
at org.elasticsearch.test.junit.listeners.ReproduceInfoPrinter$MavenMessageBuilder.appendOpt(ReproduceInfoPrinter.java:175)
at com.carrotsearch.randomizedtesting.ReproduceErrorMessageBuilder.appendAllOpts(ReproduceErrorMessageBuilder.java:42)
at org.elasticsearch.test.junit.listeners.ReproduceInfoPrinter$MavenMessageBuilder.appendAllOpts(ReproduceInfoPrinter.java:122)
at org.elasticsearch.test.junit.listeners.ReproduceInfoPrinter.testFailure(ReproduceInfoPrinter.java:89)
at org.junit.runner.notification.SynchronizedRunListener.testFailure(SynchronizedRunListener.java:63)
at org.junit.runner.notification.RunNotifier$4.notifyListener(RunNotifier.java:142)
at org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72)
at org.junit.runner.notification.RunNotifier.fireTestFailures(RunNotifier.java:138)
at org.junit.runner.notification.RunNotifier.fireTestFailure(RunNotifier.java:132)
at com.carrotsearch.randomizedtesting.RandomizedRunner$2.run(RandomizedRunner.java:594)
Here is my pom.xml :
<properties>
<es.version>2.3.5</es.version>
<randomizedtesting-runner.version>2.3.2</randomizedtesting-runner.version>
<lucene.version>5.5.0</lucene.version>
<hamcrest.version>1.3</hamcrest.version>
<junit.version>4.11</junit.version>
</properties>
<dependencies>
<dependency>
<groupId>com.carrotsearch.randomizedtesting</groupId>
<artifactId>randomizedtesting-runner</artifactId>
<version>${randomizedtesting-runner.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
<version>${junit.version}</version>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-core</artifactId>
<version>${lucene.version}</version>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-test-framework</artifactId>
<version>${lucene.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch</artifactId>
<type>test-jar</type>
<version>${es.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
<version>${hamcrest.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
<version>${hamcrest.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
Do you have any idea why I am getting this exception ? I tried cleaning the mvn repository but it did not work.
Thank you for your help.