3 Replies Latest reply on Aug 29, 2011 8:48 AM by Aslak Knutsen

    Upgraded from Alpha5 to CR2, now tests don't run

    John Ament Master

      So we were in the process of upgrading seam to Arquillian CR2, but I can't find any docs about it.  Everything seems to still talk about about alpha5/alpha4.  For whatever reason, i can't run tests now in AS6.

       

      Running org.jboss.seam.jms.test.routeBuilder.RouteManagerImplTest

      org.apache.maven.surefire.booter.SurefireExecutionException: Could not load class; nested exception is java.lang.RuntimeException: Could not load class

      java.lang.RuntimeException: Could not load class

          at org.jboss.arquillian.test.spi.SecurityActions.loadClass(SecurityActions.java:68)

          at org.jboss.arquillian.test.spi.TestRunnerAdaptorBuilder.build(TestRunnerAdaptorBuilder.java:49)

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

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

          at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120)

          at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103)

          at org.apache.maven.surefire.Surefire.run(Surefire.java:169)

          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.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)

          at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

      Caused by: java.lang.ClassNotFoundException: org.jboss.arquillian.core.impl.loadable.LoadableExtensionLoader

          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 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

          at java.lang.Class.forName0(Native Method)

          at java.lang.Class.forName(Class.java:247)

          at org.jboss.arquillian.test.spi.SecurityActions.loadClass(SecurityActions.java:64)

          ... 12 more