1 Reply Latest reply on Feb 23, 2015 3:49 AM by ehugonnet

    Error importing Existing Maven Project using Wildfly

    mikelee89

      Hi all,

       

      I am new to wildfly and maven.

      I have installed maven plugin on eclipse Luna.

      And trying to Import existing maven project.

      The project is using excel files as database.

       

      When I run the project I get the following error.

       

      Thank you in advance.

       

      23:49:10,976 INFO  [org.jboss.ws.common.management] (MSC service thread 1-7) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.3.2.Final

      23:49:12,353 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry xmlsec.jar in /E:/Java/jboss 8x/wildfly-8.2.0.Final/standalone/deployments/benefitslibrary.war/WEB-INF/lib/xws-security-1.3.1.jar  does not point to a valid jar for a Class-Path reference.

      23:49:12,354 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry saaj-api.jar in /E:/Java/jboss 8x/wildfly-8.2.0.Final/standalone/deployments/benefitslibrary.war/WEB-INF/lib/xws-security-1.3.1.jar  does not point to a valid jar for a Class-Path reference.

      23:49:12,354 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry saaj-impl.jar in /E:/Java/jboss 8x/wildfly-8.2.0.Final/standalone/deployments/benefitslibrary.war/WEB-INF/lib/xws-security-1.3.1.jar  does not point to a valid jar for a Class-Path reference.

      23:49:12,355 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry xmldsig.jar in /E:/Java/jboss 8x/wildfly-8.2.0.Final/standalone/deployments/benefitslibrary.war/WEB-INF/lib/xws-security-1.3.1.jar  does not point to a valid jar for a Class-Path reference.

      23:49:12,355 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry mail.jar in /E:/Java/jboss 8x/wildfly-8.2.0.Final/standalone/deployments/benefitslibrary.war/WEB-INF/lib/xws-security-1.3.1.jar  does not point to a valid jar for a Class-Path reference.

      23:49:13,370 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.unit."benefitslibrary.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."benefitslibrary.war".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment "benefitslibrary.war"

        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

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

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

        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [rt.jar:1.7.0_07]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.7.0_07]

        at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_07]

      Caused by: java.lang.RuntimeException: JBAS018757: Error getting reflective information for class com.sun.xml.ws.tx.webservice.member.coord.RegistrationPortTypeImpl with ClassLoader ModuleClassLoader for Module "deployment.benefitslibrary.war:main" from Service Module Loader

        at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:72) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:58)

        at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:107)

        at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:92)

        at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:77)

        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

        ... 5 more

      Caused by: java.lang.NoClassDefFoundError: Lcom/sun/xml/ws/developer/StatefulWebServiceManager;

        at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.7.0_07]

        at java.lang.Class.privateGetDeclaredFields(Unknown Source) [rt.jar:1.7.0_07]

        at java.lang.Class.getDeclaredFields(Unknown Source) [rt.jar:1.7.0_07]

        at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:68) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

        ... 10 more

      Caused by: java.lang.ClassNotFoundException: com.sun.xml.ws.developer.StatefulWebServiceManager from [Module "deployment.benefitslibrary.war:main" from Service Module Loader]

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

        at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.3.Final]

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

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

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

        ... 15 more

       

       

      23:49:13,376 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "benefitslibrary.war")]) - failure description: {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"benefitslibrary.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"benefitslibrary.war\".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment \"benefitslibrary.war\"

          Caused by: java.lang.RuntimeException: JBAS018757: Error getting reflective information for class com.sun.xml.ws.tx.webservice.member.coord.RegistrationPortTypeImpl with ClassLoader ModuleClassLoader for Module \"deployment.benefitslibrary.war:main\" from Service Module Loader

          Caused by: java.lang.NoClassDefFoundError: Lcom/sun/xml/ws/developer/StatefulWebServiceManager;

          Caused by: java.lang.ClassNotFoundException: com.sun.xml.ws.developer.StatefulWebServiceManager from [Module \"deployment.benefitslibrary.war:main\" from Service Module Loader]"}}

      23:49:13,432 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 28) JBAS018559: Deployed "benefitslibrary.war" (runtime-name : "benefitslibrary.war")

      23:49:13,434 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report

      JBAS014777:   Services which failed to start:      service jboss.deployment.unit."benefitslibrary.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."benefitslibrary.war".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment "benefitslibrary.war"

       

       

      23:49:13,464 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management

      23:49:13,464 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990

      23:49:13,465 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: WildFly 8.2.0.Final "Tweek" started (with errors) in 19290ms - Started 198 of 249 services (1 services failed or missing dependencies, 84 services are lazy, passive or on-demand)

      23:49:13,732 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015877: Stopped deployment benefitslibrary.war (runtime-name: benefitslibrary.war) in 65ms

      23:49:13,942 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018558: Undeployed "benefitslibrary.war" (runtime-name: "benefitslibrary.war")

      23:49:13,943 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report

      JBAS014777:   Services which failed to start:      service jboss.deployment.unit."benefitslibrary.war".POST_MODULE

       

       

      23:49:18,463 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) JBAS015003: Found benefitslibrary.war in deployment directory. To trigger deployment create a file called benefitslibrary.war.dodeploy