PowerMock is throwing java.lang.ClassFormatError with Struts2 Action
问题 I am using Powermockito with below JAR mockito-all-1.10.19.jar, cglib-nodep-2.2.2.jar, javassist-3.19.0-GA.jar, junit-4.12.jar, objenesis-2.1.jar, powermock-mockito-1.6.2-full.jar, hamcrest-all-1.3.jar When running test for my action I am getting initializationError with failure stacktrace as follows java.lang.ClassFormatError: JVMCFRE013 local variable PC length invalid; class=com/xyz/action/ActionCommon, offset=9351 at java.lang.ClassLoader.defineClassImpl(Native Method) at java.lang