Throwable #1: java.lang.RuntimeException: found jar hell in test classpath
at org.elasticsearch.bootstrap.BootstrapForTesting.(BootstrapForTesting.java:95)
at org.elasticsearch.test.ESTestCase.(ESTestCase.java:197)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at com.carrotsearch.randomizedtesting.RandomizedRunner$2.run(RandomizedRunner.java:592)
Caused by: java.lang.IllegalStateException: jar hell!
class: com.sun.jna.AltCallingConvention
jar1: C:\Users\admin.m2\repository\org\elasticsearch\jna\4.5.1\jna-4.5.1.jar
jar2: C:\Users\admin.m2\repository\net\java\dev\jna\jna\4.5.1\jna-4.5.1.jar
at org.elasticsearch.bootstrap.JarHell.checkClass(JarHell.java:273)
at org.elasticsearch.bootstrap.JarHell.checkJarHell(JarHell.java:190)
at org.elasticsearch.bootstrap.JarHell.checkJarHell(JarHell.java:86)
at org.elasticsearch.bootstrap.BootstrapForTesting.(BootstrapForTesting.java:93)
... 4 more
Completed [1/1 (1!)] in 1.22s, 0 tests, 1 error <<< FAILURES!
Throwable #1: java.lang.RuntimeException: unable to install test security manager
at org.elasticsearch.bootstrap.BootstrapForTesting.(BootstrapForTesting.java:168)
at org.elasticsearch.test.ESTestCase.(ESTestCase.java:197)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at com.carrotsearch.randomizedtesting.RandomizedRunner$2.run(RandomizedRunner.java:592)
Caused by: java.lang.IllegalStateException: codebase property already set: codebase.elasticsearch-secure-sm -> file:/C:/Users/svangeti/.m2/repository/org/elasticsearch/elasticsearch-secure-sm/6.3.2/elasticsearch-secure-sm-6.3.2.jar, cannot set to file:/C:/Users/admin/.m2/repository/org/elasticsearch/elasticsearch-secure-sm/6.3.2/elasticsearch-secure-sm-6.3.2.jar
at org.elasticsearch.bootstrap.Security.readPolicy(Security.java:234)
at org.elasticsearch.bootstrap.BootstrapForTesting.(BootstrapForTesting.java:143)
... 4 more
Completed [1/1 (1!)] in 1.29s, 0 tests, 1 error <<< FAILURES!
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.