java.lang.NoSuchMethodError: org/easymock/internal/MocksControl.createMock(Ljava/lang/Class;[Ljava/lang/reflect/Method;)Ljava/lang/Object;

Stack Overflow | blu10 | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 2

    Powermock - mocking static class members

    Stack Overflow | 7 months ago | blu10
    java.lang.NoSuchMethodError: org/easymock/internal/MocksControl.createMock(Ljava/lang/Class;[Ljava/lang/reflect/Method;)Ljava/lang/Object;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org/easymock/internal/MocksControl.createMock(Ljava/lang/Class;[Ljava/lang/reflect/Method;)Ljava/lang/Object;

      at org.powermock.api.easymock.PowerMock.doCreateMock()
    2. powermock-api-easymock
      PowerMock.doMock
      1. org.powermock.api.easymock.PowerMock.doCreateMock(PowerMock.java:2214)
      2. org.powermock.api.easymock.PowerMock.doMock(PowerMock.java:2163)
      2 frames