Skip to content

Commit 36abb92

Browse files
committed
GH-1604: Document Scala Incompatibility
Resolves #1604
1 parent ab6a1fd commit 36abb92

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

src/reference/asciidoc/appendix.adoc

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,44 @@ dependencies {
8383

8484
The test scope dependencies are only needed if you are using the embedded Kafka broker in tests.
8585

86+
[appendix]
87+
== Jackson/Scala Incompatibility
88+
89+
When using the framework and its test embedded Kafka server with Jackson version 2.11.3 or later on the classpath, Jackson pulls in some incompatible scala jars transitively.
90+
The dependency management of Spring Boot version 2.3.5 and later uses that version of Jackson.
91+
To correct this problem, you must override those jar versions.
92+
93+
**maven**
94+
95+
====
96+
[source, xml]
97+
----
98+
<dependency>
99+
<groupId>org.scala-lang</groupId>
100+
<artifactId>scala-library</artifactId>
101+
<version>2.12.11</version>
102+
<scope>test</scope>
103+
</dependency>
104+
105+
<dependency>
106+
<groupId>org.scala-lang</groupId>
107+
<artifactId>scala-reflect</artifactId>
108+
<version>2.12.11</version>
109+
<scope>test</scope>
110+
</dependency>
111+
----
112+
====
113+
114+
**gradle**
115+
116+
====
117+
[source, groovy]
118+
----
119+
testImplementation "org.scala-lang:scala-library:2.12.11"
120+
testImplementation "org.scala-lang:scala-reflect:2.12.11"
121+
----
122+
====
123+
86124
[appendix]
87125
[[history]]
88126
== Change History

0 commit comments

Comments
 (0)