File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,29 @@ GraphQL Java Tools works extremely well if you already have domain POJOs that ho
1010
1111GraphQL Java Tools aims for seamless integration with Java, but works for any JVM language. Try it with Kotlin!
1212
13+ ## WARNING: NoClassDefFoundError when using Spring Boot
14+
15+ If you're using ` graphl-java-tools ` you need to set the ` kotlin.version ` in your Spring Boot project explicitly to
16+ version 1.3.10, because Spring Boot Starter parent currently overrides it with a 1.2.* version of Kotlin.
17+ ` graphql-java-tools ` requires 1.3.* however because of its coroutine support. If you don't override this version
18+ you will run into a ` NoClassDefFoundError ` .
19+
20+ Spring Boot team has indicated the Kotlin version will be upgraded to 1.3 in Spring Boot 2.2.
21+
22+ ### Using Gradle
23+ Set the Kotlin version in your ` gradle.properties `
24+ ```
25+ kotlin.version=1.3.10
26+ ```
27+
28+ ### Using Maven
29+ Set the Kotlin version in your ` <properties> ` section
30+ ``` xml
31+ <properties >
32+ <kotlin .version>1.3.10</kotlin .version>
33+ </properties >
34+ ```
35+
1336## Documentation
1437
1538Take a look at our new [ documentation] ( https://www.graphql-java-kickstart.com/tools/ ) for more details.
You can’t perform that action at this time.
0 commit comments