java.lang.IllegalAccessError

tip

Update Mockito to newest version.


rafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • java.lang.IllegalAccessError: tried to access method org.mockito.internal.util.MockUtil.<init>()V from class com.nhaarman.mockito_kotlin.CreateInstanceKt at com.nhaarman.mockito_kotlin.CreateInstanceKt.uncheckedMock(CreateInstance.kt:180) at com.nhaarman.mockito_kotlin.CreateInstanceKt.createInstance(CreateInstance.kt:58)

Users with the same issue

rafael
2 times, last one,