1 Reply Latest reply on Mar 20, 2017 3:23 AM by ehugonnet

    Error while deploying WAR project into Wildfly

    Raphael Neves Newbie

      Hi guys, that's my first post here in community, so first of all sorry about something,

       

      I'm trying to deploy a WAR application into my Wildfly 8.0.0-final server, but I'm having some problems. Can anyone help me how to solve this, please? Above is my stacktrace

       

      17:22:17,475 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.undertow.deployment.defau

      lt-server.default-host./openxds-web: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host.

      /openxds-web: Failed to start service

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904) [jboss-msc-1.2.0.Final.jar:1.2.0.Fina

      l]

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_80]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_80]

              at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_80]

      Caused by: java.lang.NoClassDefFoundError: org/apache/axiom/om/OMMetaFactory

              at java.lang.Class.forName0(Native Method) [rt.jar:1.7.0_80]

              at java.lang.Class.forName(Class.java:195) [rt.jar:1.7.0_80]

              at org.apache.axiom.om.OMAbstractFactory.getOMFactory(OMAbstractFactory.java:107)

              at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:72)

              at org.apache.axis2.engine.AxisConfiguration.<init>(AxisConfiguration.java:172)

              at org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:855)

              at org.apache.axis2.deployment.WarBasedAxisConfigurator.<init>(WarBasedAxisConfigurator.java:156)

              at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:584)

              at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:454)

              at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:208)

              at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:116)

              at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:496)

              at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:87)

              at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.start(UndertowDeploymentService.java:71)

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.0.Final.jar:1

      .2.0.Final]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.0.Final.jar:1.2.0.Fina

      l]

              ... 3 more

      Caused by: java.lang.ClassNotFoundException: org.apache.axiom.om.OMMetaFactory from [Module "deployment.openxds-web.war:main" from Service

      Module Loader]

              at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197) [jboss-modules.jar:1.3.0.Final]

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443) [jboss-modules.jar:1.3.0.Final

      ]

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431) [jboss-modules.jar:1.3.0.Final]

              at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373) [jboss-modules.jar:1.3.0.Final]

              at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118) [jboss-modules.jar:1.3.0.Final]

              ... 19 more

       

       

      17:22:17,504 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - addres

      s: ([("deployment" => "openxds-web.war")]) - failure description: {"JBAS014671: Failed services" => {"jboss.undertow.deployment.default-ser

      ver.default-host./openxds-web" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./o

      penxds-web: Failed to start service

          Caused by: java.lang.NoClassDefFoundError: org/apache/axiom/om/OMMetaFactory

          Caused by: java.lang.ClassNotFoundException: org.apache.axiom.om.OMMetaFactory from [Module \"deployment.openxds-web.war:main\" from Se

      rvice Module Loader]"}}