Hi,

I am a newbie to pax exam.

I want to execute a junit test in an QSGI framework.
I am using maven and pax exam.
The build is OK, but the test fails with following Exception:

java.lang.NoClassDefFoundError: org/ops4j/lang/NullArgumentException
at org.ops4j.pax.exam.junit.internal.DefaultConfigMethod.<init>(DefaultConfigMethod.java:68) at org.ops4j.pax.exam.junit.AnnotatedWithConfiguration.getConfigMethods(AnnotatedWithConfiguration.java:68) at org.ops4j.pax.exam.junit.JUnit4TestRunner.getConfigurationMethods(JUnit4TestRunner.java:137)


The test case has no specific configuration. It runs successfully in eclipse PDE (even if it's not an eclipse plugin).

I followed the instructions at
http://wiki.ops4j.org/display/paxexam/Pax+Exam+-+Tutorial+1
I fear, that there are some dependancies missing in my pom.xml file.

Is the dependency list of pom.xml of the tutorial sufficiant to execute the tests within the default osgi framework?

Thank You,

Volkmar



_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to