mardi 12 avril 2016

ElasticsearchIntegrationTest cannot be resolved to a type

I'm trying to write an integration test, but I get "ElasticsearchIntegrationTest cannot be resolved to a type":

public class MyTest extends ElasticsearchIntegrationTest {

@Test
public void test() {
    ...
}

}

the dependency looks like this:

    <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>
        <version>${elasticsearch.version}</version>
        <scope>test</scope>
        <type>test-jar</type>
    </dependency>

Aucun commentaire:

Enregistrer un commentaire