mirror of https://github.com/dapr/java-sdk.git
Advise how to resolve OkHttp version conflict with Spring Boot (#589)
Co-authored-by: Artur Souza <artursouza.ms@outlook.com> Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
This commit is contained in:
parent
3c3a5277d6
commit
93dbbbb3ab
|
@ -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 >}}).
|
||||
|
|
Loading…
Reference in New Issue