i'm currently using Arquillian for jboss(remote) and i'm trying to make Jmockit work. I deployed an ear which works fine, but i'm getting this error for arquillian-service:
java.lang.NoClassDefFoundError: mockit/internal/state/TestRun
Caused by: java.lang.ClassNotFoundException: mockit.internal.state.TestRun from
[Module "deployment.arquillian-service:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
I'm using jMockit 1.7 and have it in EAR deployment.
How can i add library in this deployment (arquillian-service)
PS: This deployment is managed by arquillian, i have nothing to do with it.
I solved the problem of third-party libs as follows - the list of dependencies:
Method which packs all them into separate jar:
Eventually I merge it when packing core jar:
Also to use this next dependencies must be pointed out: