1 Reply Latest reply on Mar 11, 2011 7:12 AM by Aslak Knutsen

    Stacktrace after upgrade to ShrinkWrap 1.0.0-alpha-12

    Juergen Zimmermann Master

      After upgrading ShrinkWrap from 1.0.0-alpha-11 to 1.0.0-alpha-12 I'm getting this stacktrace. Any hint is appreciated!

       

      java.lang.NoSuchMethodError: org.jboss.shrinkwrap.api.spec.JavaArchive.addServiceProvider(Ljava/lang/Class;[Ljava/lang/Class;)Lorg/jboss/shrinkwrap/api/Archive;

      at org.jboss.arquillian.container.jbossas.remote_6.JBossASDeploymentAppender.createAuxiliaryArchive(JBossASDeploymentAppender.java:42)

      at org.jboss.arquillian.impl.ClientDeploymentGenerator.loadAuxiliaryArchives(ClientDeploymentGenerator.java:75)

      at org.jboss.arquillian.impl.ClientDeploymentGenerator.generate(ClientDeploymentGenerator.java:62)

      at org.jboss.arquillian.impl.handler.ArchiveGenerator.callback(ArchiveGenerator.java:52)

      at org.jboss.arquillian.impl.handler.ArchiveGenerator.callback(ArchiveGenerator.java:42)

      at org.jboss.arquillian.impl.event.MapEventManager.fire(MapEventManager.java:63)

      at org.jboss.arquillian.impl.context.AbstractEventContext.fire(AbstractEventContext.java:115)

      at org.jboss.arquillian.impl.EventTestRunnerAdaptor.beforeClass(EventTestRunnerAdaptor.java:96)

      at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:162)

      at org.jboss.arquillian.junit.Arquillian$3$1.evaluate(Arquillian.java:186)

      at org.jboss.arquillian.junit.Arquillian$MultiStatementExecutor.execute(Arquillian.java:297)

      at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:182)

      at org.junit.runners.ParentRunner.run(ParentRunner.java:236)

      at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:127)

      at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)

      at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)

      at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)

      at $Proxy0.invoke(Unknown Source)

      at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)

      at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)

      at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)