Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1.0.Final
    • Fix Version/s: None
    • Component/s: Shared Examples
    • Labels:
      None
    • Environment:

      OSX, JBoss AS7.1.0.Final, Seam 3.1.0.Final, Maven 3.0.4

      Description

      Attempting to build the booking example using freshly downloaded AS7.1.0.Final, and Seam3.1.0.Final results in the following error:

      [ERROR] Failed to execute goal org.jboss.arquillian.maven:arquillian-maven-plugin:1.0.0.Alpha1:run (default-cli) on project seam-booking: Execution default-cli of goal org.jboss.arquillian.maven:arquillian-maven-plugin:1.0.0.Alpha1:run failed: An API incompatibility was encountered while executing org.jboss.arquillian.maven:arquillian-maven-plugin:1.0.0.Alpha1:run: java.lang.NoSuchMethodError: org.jboss.arquillian.container.spi.Container.getState()Lorg/jboss/arquillian/container/spi/Container$State;

      [ERROR] -----------------------------------------------------

      [ERROR] realm = plugin>org.jboss.arquillian.maven:arquillian-maven-plugin:1.0.0.Alpha1
      [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
      [ERROR] urls[0] = file:/Users/rmorse/.m2/repository/org/jboss/arquillian/maven/arquillian-maven-plugin/1.0.0.Alpha1/arquillian-maven-plugin-1.0.0.Alpha1.jar
      [ERROR] urls[1] = file:/Users/rmorse/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
      [ERROR] urls[2] = file:/Users/rmorse/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
      [ERROR] urls[3] = file:/Users/rmorse/.m2/repository/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar
      [ERROR] urls[4] = file:/Users/rmorse/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
      [ERROR] urls[5] = file:/Users/rmorse/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
      [ERROR] urls[6] = file:/Users/rmorse/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.4/plexus-utils-2.0.4.jar
      [ERROR] urls[7] = file:/Users/rmorse/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar
      [ERROR] urls[8] = file:/Users/rmorse/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
      [ERROR] urls[9] = file:/Users/rmorse/.m2/repository/org/jboss/arquillian/core/arquillian-core-api/1.0.0.CR1/arquillian-core-api-1.0.0.CR1.jar
      [ERROR] urls[10] = file:/Users/rmorse/.m2/repository/org/jboss/arquillian/core/arquillian-core-spi/1.0.0.CR1/arquillian-core-spi-1.0.0.CR1.jar
      [ERROR] urls[11] = file:/Users/rmorse/.m2/repository/org/jboss/arquillian/container/arquillian-container-spi/1.0.0.CR1/arquillian-container-spi-1.0.0.CR1.jar
      [ERROR] urls[12] = file:/Users/rmorse/.m2/repository/org/jboss/arquillian/config/arquillian-config-api/1.0.0.CR1/arquillian-config-api-1.0.0.CR1.jar
      [ERROR] urls[13] = file:/Users/rmorse/.m2/repository/org/jboss/arquillian/config/arquillian-config-impl-base/1.0.0.CR1/arquillian-config-impl-base-1.0.0.CR1.jar
      [ERROR] urls[14] = file:/Users/rmorse/.m2/repository/org/jboss/shrinkwrap/descriptors/shrinkwrap-descriptors-impl/1.0.0-beta-1/shrinkwrap-descriptors-impl-1.0.0-beta-1.jar
      [ERROR] urls[15] = file:/Users/rmorse/.m2/repository/org/jboss/shrinkwrap/shrinkwrap-api/1.0.0-beta-3/shrinkwrap-api-1.0.0-beta-3.jar
      [ERROR] urls[16] = file:/Users/rmorse/.m2/repository/org/jboss/shrinkwrap/descriptors/shrinkwrap-descriptors-api/1.0.0-beta-1/shrinkwrap-descriptors-api-1.0.0-beta-1.jar
      [ERROR] urls[17] = file:/Users/rmorse/.m2/repository/org/jboss/shrinkwrap/shrinkwrap-impl-base/1.0.0-beta-3/shrinkwrap-impl-base-1.0.0-beta-3.jar
      [ERROR] urls[18] = file:/Users/rmorse/.m2/repository/org/jboss/shrinkwrap/shrinkwrap-spi/1.0.0-beta-3/shrinkwrap-spi-1.0.0-beta-3.jar
      [ERROR] Number of foreign imports: 1
      [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]

      Changing the version of AS7 in the parent POM to 7.1.0.Final results in ClassNotFoundException:

      [ERROR] Failed to execute goal org.jboss.arquillian.maven:arquillian-maven-plugin:1.0.0.Alpha1:run (default-cli) on project seam-booking: Could not perform goal: run on file /Users/rmorse/Downloads/seam-3.1.0.Final/examples/seam-booking/target/seam-booking.war: Could not create a new instance of class org.jboss.arquillian.core.impl.ManagerImpl see cause. InvocationTargetException: org/jboss/arquillian/container/test/impl/enricher/resource/OperatesOnDeploymentAwareProvider: org.jboss.arquillian.container.test.impl.enricher.resource.OperatesOnDeploymentAwareProvider -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jboss.arquillian.maven:arquillian-maven-plugin:1.0.0.Alpha1:run (default-cli) on project seam-booking: Could not perform goal: run on file /Users/rmorse/Downloads/seam-3.1.0.Final/examples/seam-booking/target/seam-booking.war
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
      at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
      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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
      Caused by: org.apache.maven.plugin.MojoExecutionException: Could not perform goal: run on file /Users/rmorse/Downloads/seam-3.1.0.Final/examples/seam-booking/target/seam-booking.war
      at org.jboss.arquillian.maven.BaseCommand.execute(BaseCommand.java:165)
      at org.jboss.arquillian.maven.Run.execute(Run.java:35)
      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
      ... 19 more
      Caused by: java.lang.RuntimeException: Could not create a new instance of class org.jboss.arquillian.core.impl.ManagerImpl see cause.
      at org.jboss.arquillian.core.spi.SecurityActions.newInstance(SecurityActions.java:157)
      at org.jboss.arquillian.core.spi.ManagerBuilder.create(ManagerBuilder.java:77)
      at org.jboss.arquillian.maven.BaseCommand.loadContainer(BaseCommand.java:192)
      at org.jboss.arquillian.maven.BaseCommand.execute(BaseCommand.java:161)
      ... 22 more
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at org.jboss.arquillian.core.spi.SecurityActions.newInstance(SecurityActions.java:153)
      ... 25 more
      Caused by: java.lang.NoClassDefFoundError: org/jboss/arquillian/container/test/impl/enricher/resource/OperatesOnDeploymentAwareProvider
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
      at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      at org.jboss.as.arquillian.container.CommonContainerExtension.register(CommonContainerExtension.java:36)
      at org.jboss.as.arquillian.container.managed.ManagedContainerExtension.register(ManagedContainerExtension.java:33)
      at org.jboss.arquillian.core.impl.loadable.LoadableExtensionLoader.load(LoadableExtensionLoader.java:78)
      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.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
      at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
      at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
      at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:134)
      at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114)
      at org.jboss.arquillian.core.impl.ManagerImpl.fireProcessing(ManagerImpl.java:315)
      at org.jboss.arquillian.core.impl.ManagerImpl.<init>(ManagerImpl.java:97)
      ... 30 more
      Caused by: java.lang.ClassNotFoundException: org.jboss.arquillian.container.test.impl.enricher.resource.OperatesOnDeploymentAwareProvider
      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      ... 55 more

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mdesignz Robert Morse
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: