1 Reply Latest reply on Sep 19, 2014 3:34 PM by Daniel Cote

    Error when trying to use spring module

    Daniel Cote Newbie

      Hi,

       

      I'm trying to migrate an application currently running on "JBOSS 7.1.1 final "to "wildfly 8.1.0.final".

      I want to enable the use of the cxf.xml configuration file, deployed in the classpath of my application, to make adjustments to specific WS calls (certificate management, disableCNCheck, chunking, etc.).

       

      Following the following link https://docs.jboss.org/author/display/WFLY8/JBoss+Modules+and+WS+applications, I tried to modify the jboss-deployment-structure.xml file included in my EAR file.

       

      <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2">

        <deployment>

        <dependencies>

        <module name="org.jboss.ws.cxf.jbossws-cxf-client" services="import" />

        <module name="org.apache.cxf.impl">

        <imports>

        <include path="META-INF" />

        <include path="META-INF/cxf" />

        </imports>

        </module>

        <module name="org.springframework.spring">

        <imports>

        <include path="META-INF" />

        </imports>

        </module>

        </dependencies>

        </deployment>

      </jboss-deployment-structure>

      When deploying the application, I received the following error:

      2014-09-19 13:29:41,284 ERROR (MSC service thread 1-8) [org.jboss.msc.service.fail] MSC000001: Failed to start service jboss.module.service."deployment.xxx.ear".main: org.jboss.msc.service.StartException in service ...

       

      Caused by: org.jboss.modules.ModuleNotFoundException: org.springframework.spring:main

       

      I suspect I need to deploy this module but I'm unable to find any instructions on how to include those resource in my wildfly deployment.

       

      Any pointer would be appreciated.

       

      Regards,

      dc