Could not initialize plugin: interface org.mockito.plugins.MockMaker (alternate: null)
Stack Trace
java.lang.IllegalStateException: Could not initialize plugin: interface org.mockito.plugins.MockMaker (alternate: null)
at cz.cvut.kbss.jopa.sessions.descriptor.InstanceDescriptorTest.setUp(InstanceDescriptorTest.java:34)
Caused by: java.lang.IllegalStateException: Internal problem occurred, please report it. Mockito is unable to load the default implementation of class that is a part of Mockito distribution. Failed to load interface org.mockito.plugins.MockMaker
Caused by: java.lang.reflect.InvocationTargetException
Caused by: org.mockito.exceptions.base.MockitoInitializationException:
Could not initialize inline Byte Buddy mock maker.
It appears as if your JDK does not supply a working agent attachment mechanism.
Java : 11
JVM vendor name : Debian
JVM vendor version : 11.0.18+10-post-Debian-1deb10u1
JVM name : OpenJDK 64-Bit Server VM
JVM version : 11.0.18+10-post-Debian-1deb10u1
JVM info : mixed mode, sharing
OS name : Linux
OS version : 4.19.0-23-amd64
Caused by: java.lang.IllegalStateException: Could not self-attach to current VM using external process