I have a project built with Kotlin 1.0.6 with a couple of references.
I succesfully manage to migrate to Kotlin 1.1.0-beta-38 without any major compile problems except the following:
Some runtime JAR files in the classpath have an incompatible version. Remove them from the classpath or pass the correct ‘-language-version’ explicitly. Alternatively, you can use ‘-Xskip-runtime-version-check’ to suppress this error
[ERROR] /Users/jco27/.m2/repository/org/jetbrains/kotlin/kotlin-reflect/1.0.3/kotlin-reflect-1.0.3.jar: Runtime JAR file has version 1.0 which is older than required for language version 1.1
[ERROR] -> [Help 1]
This error comes from a dependency introduced by:
<dependency> <groupId>com.fasterxml.jackson.module</groupId> <artifactId>jackson-module-kotlin</artifactId> <version>2.8.4</version> </dependency>
as jackson actually uses the reflection module and it is compiled into 1.0.6
Other than building the module myself manually, how can that issue be solved? I find it a little bit alarming that I can’t use a library create with 1.0.6 on 1.1.