EasyMock java.lang.NoSuchMethodError: org.easymock.internal.RecordState.(Lorg/easymock/internal/IMocksBehavior;)

Mysterious Error #5578:

java.lang.NoSuchMethodError: org.easymock.internal.RecordState.(Lorg/easymock/internal/IMocksBehavior;)V
at org.easymock.internal.MocksControl.reset(MocksControl.java:51)
at org.easymock.internal.MocksControl.(MocksControl.java:26)
at org.easymock.EasyMock.createControl(EasyMock.java:77)
at org.easymock.EasyMock.createMock(EasyMock.java:43)

Solution? Change the import order easymock.jar and easymockclassextension.jar.



I'm currently working at NerdWallet, a startup in San Francisco trying to bring clarity to all of life's financial decisions. We're hiring like crazy. Hit me up on Twitter, I would love to talk.

Follow @chase_seibert on Twitter