org.elasticsearch.action.index.IndexRequest.ifSeqNo

1937 단어 elasticsearch
java.lang.NoSuchMethodError: org.elasticsearch.action.index.IndexRequest.ifSeqNo()J

	at org.elasticsearch.client.RequestConverters.index(RequestConverters.java:329)
	at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1429)
	at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1403)
	at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1373)
	at org.elasticsearch.client.RestHighLevelClient.index(RestHighLevelClient.java:821)
	at com.elastic.search.SearchApplicationTests.contextLoads(SearchApplicationTests.java:56)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)

elasticsearch-rest-high-level-client 7.1.1 버전으로 문제가 발생했습니다. GitHub에 issues를 보냈습니다.
이것은 공식 문서에서 명확하게 말하지 않았고pom에 의존을 넣었다

   org.elasticsearch.client
   elasticsearch-rest-high-level-client
   7.1.1


    
        
            org.elasticsearch
            elasticsearch
            7.1.1
        

개인 사이트

좋은 웹페이지 즐겨찾기