Could not initialize plugin: interface org.mockito.plugins.MockMaker

后端 未结 25 2082
走了就别回头了
走了就别回头了 2020-12-29 01:01

I\'m getting following exception once tests is started:

    Testcase: treeCtorArgumentTest(com.xythos.client.drive.cachedtree.CachedTreeTest):  Caused an ERR         


        
25条回答
  •  礼貌的吻别
    2020-12-29 01:29

    I had the same problem - same stacktrace appear in my log. It is typically problem with project setup... OR
    The problem can be in the bytebuddys JARs if these were not downloaded correctly.
    When I try to check class ClassLoadingStrategy manually then I get zip error.

    In that case it is just enough manually delete the Byte Buddy from local maven directory, usually located at:
    {home}/.m2/repository/net/bytebuddy/

    The next try to run project or test they will be downloaded again and should work as expected.

    Unfortunatelly common Java ClassLoader faces in the same way when class or jar missing as well as the jar is corrupted.

提交回复
热议问题