I am trying to write a junit test which would create a org.elasticsearch.node.Node object. So I have created a class which extends ESIntegTestCase. However, when I run it, I get
java.lang.NoClassDefFoundError: Could not initialize class org.elasticsearch.test.ESTestCase
What am I doing wrong? My pom.xml includes
org.apache.lucene lucene-test-framework ${version.lucene} test org.elasticsearch.test framework ${version.elasticsearch} test com.google.guava guava 19.0