Wolf Logan
08/21/2020, 5:51 PMFAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileKotlinJvm'.
> Internal compiler error. See log for more details
. . .
/xxx/xxx/xxx.kt:57
@PutMapping("/{userId}", consumes = [MediaType.APPLICATION_JSON_VALUE])
^
e: org.jetbrains.kotlin.util.KotlinFrontEndException: Exception while analyzing expression at (57,39) in /xxx/xxx/xxx.kt
at org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher.logOrThrowException(ExpressionTypingVisitorDispatcher.java:253)
. . .
Caused by: java.lang.NoSuchMethodError: kotlin.sequences.SequencesKt.flatMapIterable(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
at org.jetbrains.kotlin.resolve.calls.components.CollectionTypeVariableUsagesInfo.getDependentTypeParameters(ResolutionParts.kt:364)
Robert Jaros
08/21/2020, 6:22 PMextra["kotlin.version"] = "1.4.0"
to your build.gradle.kts
.Wolf Logan
08/24/2020, 6:53 PMRobert Jaros
08/24/2020, 7:44 PMWolf Logan
08/24/2020, 7:58 PM