5 Replies Latest reply: Sep 21, 2011 5:20 AM by Ove Ranheim RSS

    jboss-javaee-6.0: upgrade from 1.0.0.Final to 2.0.0.Beta1 fails

    Juergen Zimmermann Master

      In my Arquillian tests for JBossAS 6 (remote config) I tried to upgrade from 1.0.0.Final to 2.0.0.Beta1, but get the stacktrace below because the class org.apache.xml.serializer.OutputPropertiesFactory is not found. https://repository.jboss.org/nexus/index.html shows that it should be at https://repository.jboss.org/nexus/content/groups/public/org/apache/xalan/xalan/2.7.1-1.jbossorg/xalan-2.7.1-1.jbossorg.jar, but this jar doesn't contain OutputPropertiesFactory. Any hint is appreciated.

       

       

      Stacktrace:

      java.lang.NoClassDefFoundError: org/apache/xml/serializer/OutputPropertiesFactory

      at org.apache.xalan.xsltc.trax.TransformerImpl.setDefaults(TransformerImpl.java:1022)

      at org.apache.xalan.xsltc.trax.TransformerImpl.createOutputProperties(TransformerImpl.java:983)

      at org.apache.xalan.xsltc.trax.TransformerImpl.<init>(TransformerImpl.java:236)

      at org.apache.xalan.xsltc.trax.TransformerImpl.<init>(TransformerImpl.java:227)

      at org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:593)

      at org.jboss.shrinkwrap.descriptor.impl.base.XMLExporter.to(XMLExporter.java:56)

      at org.jboss.shrinkwrap.descriptor.impl.base.NodeProviderImplBase.exportTo(NodeProviderImplBase.java:75)

      at org.jboss.shrinkwrap.descriptor.impl.base.NodeProviderImplBase.exportAsString(NodeProviderImplBase.java:48)

      at org.jboss.arquillian.protocol.servlet.v_3.ServletProtocolDeploymentPackager.handleArchive(ServletProtocolDeploymentPackager.java:142)

      at org.jboss.arquillian.protocol.servlet.v_3.ServletProtocolDeploymentPackager.generateDeployment(ServletProtocolDeploymentPackager.java:64)

      at org.jboss.arquillian.impl.client.deployment.DeploymentGenerator.buildTestableDeployments(DeploymentGenerator.java:173)

      at org.jboss.arquillian.impl.client.deployment.DeploymentGenerator.createTestableDeployments(DeploymentGenerator.java:126)

      at org.jboss.arquillian.impl.client.deployment.DeploymentGenerator.generateDeployment(DeploymentGenerator.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.impl.core.ObserverImpl.invoke(ObserverImpl.java:90)

      at org.jboss.arquillian.impl.core.EventContextImpl.invokeObservers(EventContextImpl.java:98)

      at org.jboss.arquillian.impl.core.EventContextImpl.proceed(EventContextImpl.java:80)

      at org.jboss.arquillian.impl.core.ManagerImpl.fire(ManagerImpl.java:126)

      at org.jboss.arquillian.impl.core.ManagerImpl.fire(ManagerImpl.java:106)

      at org.jboss.arquillian.impl.core.EventImpl.fire(EventImpl.java:67)

      at org.jboss.arquillian.impl.client.ContainerEventController.execute(ContainerEventController.java:68)

      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.impl.core.ObserverImpl.invoke(ObserverImpl.java:90)

      at org.jboss.arquillian.impl.core.EventContextImpl.invokeObservers(EventContextImpl.java:98)

      at org.jboss.arquillian.impl.core.EventContextImpl.proceed(EventContextImpl.java:80)

      at org.jboss.arquillian.impl.TestContextHandler.createClassContext(TestContextHandler.java:68)

      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.impl.core.ObserverImpl.invoke(ObserverImpl.java:90)

      at org.jboss.arquillian.impl.core.EventContextImpl.proceed(EventContextImpl.java:87)

      at org.jboss.arquillian.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:54)

      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.impl.core.ObserverImpl.invoke(ObserverImpl.java:90)

      at org.jboss.arquillian.impl.core.EventContextImpl.proceed(EventContextImpl.java:87)

      at org.jboss.arquillian.impl.core.ManagerImpl.fire(ManagerImpl.java:126)

      at org.jboss.arquillian.impl.core.ManagerImpl.fire(ManagerImpl.java:106)

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

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

      at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:303)

      at org.jboss.arquillian.junit.Arquillian.access$300(Arquillian.java:45)

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

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

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

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

      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)

      Caused by: java.lang.ClassNotFoundException: org.apache.xml.serializer.OutputPropertiesFactory

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

      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

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

       

      ... 66 more