<java.lang.IllegalStateException: Could not find s...
# stackoverflow
u
java.lang.IllegalStateException: Could not find sun.misc.Unsafe while @MockK I'm having an issue when creating a mock using MockK. I have tried with kotlin 1.2.* version with MockK without Kotlin 1.3 but it also didn't help. How can I resolve this? Is this because of OpenJDK 11 of it's something else? Java version: openjdk version "11" 2018-09-25 OpenJDK Runtime Environment 18.9 (build 11+28) OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode) build.gradle buildscript { ext { kotlinVersion = '1.3.0-rc-190' springBootVersion =...