Skip to content

Commit 4453b55

Browse files
committed
Fix link
1 parent 8eedcd6 commit 4453b55

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/reference/troubleshooting/no-such-method-request-options.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
navigation_title: NoSuchMethodError: removeHeader
2+
navigation_title: "NoSuchMethodError: removeHeader"
33
---
44

55
# `NoSuchMethodError` when creating a client
@@ -14,20 +14,20 @@ This method was introduced in `elasticsearch-rest-client` version 7.16.0. The er
1414

1515
This happens in particular when the project is using the [Spring Boot Maven Plugin](https://docs.spring.io/spring-boot/docs/current/maven-plugin/reference/htmlsingle/), as this plugin [defines versions for commonly used libraries](https://github.com/spring-projects/spring-boot/blob/main/spring-boot-project/spring-boot-dependencies/build.gradle), including `elasticsearch-rest-client`. Depending on the version of Spring Boot used in the project, that version may be outdated.
1616

17-
To solve this issue, you have to add the `elasticsearch-rest-client` dependency explicitly in your project, with the same version as `elasticsearch-java` (see also [Installation](elasticsearch-java://reference/installation.md)).
17+
To solve this issue, you have to add the `elasticsearch-rest-client` dependency explicitly in your project, with the same version as `elasticsearch-java` (see also [Installation](/reference/setup/installation.md)).
1818

1919
Using Gradle:
2020

21-
```groovy
22-
implementation 'org.elasticsearch.client:elasticsearch-rest-client:9.0.0-beta1'
21+
```groovy subs=true
22+
implementation 'org.elasticsearch.client:elasticsearch-rest-client:{{version}}'
2323
```
2424

2525
Using Maven:
2626

27-
```xml
27+
```xml subs=true
2828
<dependency>
2929
<groupId>org.elasticsearch.client</groupId>
3030
<artifactId>elasticsearch-rest-client</artifactId>
31-
<version>9.0.0-beta1</version>
31+
<version>{{version}}</version>
3232
</dependency>
3333
```

0 commit comments

Comments
 (0)