2 Replies Latest reply on Feb 18, 2011 4:51 AM by Brett Cave

    AbstractMethodError when upgrading to 1.0.0.Alpha4.SP5

    Juergen Zimmermann Master

      In my pom.xml I changed the versions for arquillian-spi and arquillian-junit from 1.0.0.Alpha4.SP4 to 1.0.0.Alpha4.SP5. Now I get the following stacktrace. Any hint is appreciated!

       

       

       

       

      ...

       

      de.swe1.test.BestellverwaltungTest Time elapsed: 0 sec <<< ERROR!

      java.lang.AbstractMethodError: org.jboss.arquillian.protocol.servlet_3.ServletProtocolDeploymentPackager.generateDeployment(Lorg/jboss/arquillian/spi/TestDeployment;)Lorg/jboss/shrinkwrap/api/Archive;

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

      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:99)

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

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

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

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

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

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

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

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

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

      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:101)

      at $Proxy0.invoke(Unknown Source)

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

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

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