Alexander Schell
08/18/2020, 11:24 AMCaused by: java.lang.NoClassDefFoundError: kotlin/jvm/internal/KTypeBase
Seems to be a problem with spring.Markus Loide
08/18/2020, 11:29 AMjava.lang.NoClassDefFoundError: Could not initialize class kotlin.reflect.jvm.internal.impl.builtins.jvm.JavaToKotlinClassMap
udalov
Alexander Schell
08/18/2020, 11:59 AM<properties>
...
<kotlin.version>1.4.0</kotlin.version>
...
</properties>
<dependency-management>
<dependencies>
...
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-reflect</artifactId>
<version>${kotlin.version}</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-jdk8</artifactId>
<version>${kotlin.version}</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-common</artifactId>
<version>${kotlin.version}</version>
</dependency>
...
</dependencies>
</dependency-management>
udalov
KTypeBase
is an internal class added in 1.4.0, so if it's not found, it means that the class loader which the call site is loaded with (it might be Spring internals or something) is not able to pick up kotlin-stdlib 1.4.0.
Could you please report an issue with the full stacktrace to https://kotl.in/issue so that we'd investigate it closer?Alexander Schell
08/18/2020, 2:20 PMAlexander Schell
08/18/2020, 2:56 PM