compass
compass copied to clipboard
compile failed.
程序包org.elasticsearch.xcontent不存在
Please check the maven configuration and confirm whether the elasticsearch package has been downloaded.
Please check the maven configuration and confirm whether the elasticsearch package has been downloaded.
The spring-boot-starter-parentversion used in the current project is 2.7.8. and The elasticsearch version in 2.7.8 is 7.17.8. noticeable,org.elasticsearch.xcontent.XContentType is removed from elasticSearch ver 7.17.3.so, should we consider useing a more suitable version? such as 2.7.0?
org.elasticsearch.xcontent.XContentType is removed from elasticSearch ver 7.17.3.
org.elasticsearch.xcontent.XContentType exists in elasticsearch 7.17.8, https://github.com/elastic/elasticsearch/blob/v7.17.8/libs/x-content/src/main/java/org/elasticsearch/xcontent/XContentType.java
程序包org.elasticsearch.xcontent不存在
I had the same problem and it was fixed after deleting org\elasticsearch\elasticsearch\7.17.8 in the local repository.
Please check the maven configuration and confirm whether the elasticsearch package has been downloaded.
The spring-boot-starter-parentversion used in the current project is 2.7.8. and The elasticsearch version in 2.7.8 is 7.17.8. noticeable,org.elasticsearch.xcontent.XContentType is removed from elasticSearch ver 7.17.3.so, should we consider useing a more suitable version? such as 2.7.0?
@yuehan-mm Thanks for your feedback, we will upgrade the version of Elasticsearch to the latest, and you can considerate @wForget 's solution, just clean the elasticearch package locally in your repository
+1 same problem