我有点怀疑你在刷屏

无法获取 x-pack-transport

Elasticsearch | 作者 luggie | 发布于2017年05月19日 | 阅读数:12502

添加了repository:
<repository>
<id>elasticsearch-releases</id>
<url>https://artifacts.elastic.co/maven&lt;/url&gt;
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>

<dependency>
<groupId>org.elasticsearch.client</groupId>
<artifactId>x-pack-transport</artifactId>
<version>{version}</version>
</dependency>

获取不到x-pack-transport,发现https://artifacts.elastic.co/maven返回404,请问大家怎么获取到x-pack-transport的?
已邀请:

medcl - 今晚打老虎。

赞同来自: luggie exceptions

手动下载也可以:
https://artifacts.elastic.co/m ... 0.jar

medcl - 今晚打老虎。

赞同来自: exceptions

<version>{version}</version>
换成实际版本,然后完整错误发来看看

zhuqitian - 高山景行

赞同来自:

<repositories> <!&ndash; add the elasticsearch repo &ndash;> <repository> <id>elasticsearch-releases</id> <url>https://artifacts.elastic.co/maven&lt;/url&gt; <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories>

<dependency> <groupId>org.elasticsearch.client</groupId> <artifactId>x-pack-transport</artifactId> <version>${elasticsearchVersion}</version> </dependency>
 

要回复问题请先登录注册