添加了repository:
<repository>
<id>elasticsearch-releases</id>
<url>https://artifacts.elastic.co/maven</url>
<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的?
<repository>
<id>elasticsearch-releases</id>
<url>https://artifacts.elastic.co/maven</url>
<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的?
3 个回复
medcl - 今晚打老虎。
赞同来自: luggie 、exceptions
https://artifacts.elastic.co/m ... 0.jar
medcl - 今晚打老虎。
赞同来自: exceptions
换成实际版本,然后完整错误发来看看
zhuqitian - 高山景行
赞同来自:
<dependency> <groupId>org.elasticsearch.client</groupId> <artifactId>x-pack-transport</artifactId> <version>${elasticsearchVersion}</version> </dependency>