Skip to content

Commit

Permalink
Advise how to resolve OkHttp version conflict with Spring Boot
Browse files Browse the repository at this point in the history
  • Loading branch information
mthmulders committed Jul 29, 2021
1 parent f717cd6 commit a293b12
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions daprdocs/content/en/java-sdk-docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,17 @@ dependencies {
}
```

If you are also using Spring Boot, you may run into a common issue where the OkHttp version that the Dapr SDK uses conflicts with the one specified in the Spring Boot _Bill of Materials_.
You can fix this by specifying a compatible OkHttp version in your project to match the version that the Dapr SDK uses:

```xml
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>4.9.0</version>
</dependency>
```

## Building blocks

The Java SDK allows you to interface with all of the [Dapr building blocks]({{< ref building-blocks >}}).
Expand Down

0 comments on commit a293b12

Please sign in to comment.