mdsal startup archetype - SingleFeatureTest initializationError

asked 2017-07-20 13:43:17 -0700

sofs gravatar image

Hi.

I'm following this tutorial:

https://wiki.opendaylight.org/view/Op...Controller:MD-SAL:StartupProject_Archetype

And I'm getting this error while running mvn clean install:


Test set: org.opendaylight.odlparent.featuretest.SingleFeatureTest

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.06 sec <<< FAILURE! - in org.opendaylight.odlparent.featuretest.SingleFeatureTest initializationError(org.opendaylight.odlparent.featuretest.SingleFeatureTest) Time elapsed: 0.057 sec <<< ERROR! java.lang.NoSuchMethodError: org.apache.karaf.features.internal.model.JaxbUtil.unmarshal(Ljava/io/InputStream;Z)Lorg/apache/karaf/features/internal/model/Features; at org.opendaylight.odlparent.featuretest.PerRepoTestRunner.getFeatures(PerRepoTestRunner.java:125) at org.opendaylight.odlparent.featuretest.PerRepoTestRunner.runnersFromRepoUrl(PerRepoTestRunner.java:97) at org.opendaylight.odlparent.featuretest.PerRepoTestRunner.runnersFromRepoUrl(PerRepoTestRunner.java:90) at org.opendaylight.odlparent.featuretest.PerRepoTestRunner.<init>(PerRepoTestRunner.java:58) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:29) at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:21) at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59) at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26) at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59) at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:26) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

Can you help me with this issue please?

edit retag flag offensive close merge delete