When the exception occurred? While running the build from Maven? On Mon, Jul 27, 2009 at 9:20 PM, Volkmar Nissen <[email protected]> wrote:
> 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 > -- Alin Dreghiciu Software Developer - Looking for new projects! My profile: http://www.linkedin.com/in/alindreghiciu My blog: http://adreghiciu.blogspot.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software. http://www.qi4j.org - New Energy for Java - Domain Driven Development.
_______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general
