1 Reply Latest reply on Feb 17, 2011 7:51 AM by wolfgangknauf

    The deployment descriptor of the module 'xxx.war' cannot be loaded or found.

    mhelfer

      I am trying to migrate my code from WAS (with RSA) to JBOSS (with Springsource Tool Suite). When I load the source code into SpringSource Tool Suite, I get the following error:

       

      The deployment descriptor of the module 'xxx.war' cannot be loaded or found.

       

      My Application.xml is as follows:

       

      <?xml version="1.0" encoding="UTF-8"?>

      <application id="Application_ID" version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">

          <description>Build: @build.number@; Build Time: @build.time@; SVN URL: @svn.url@; SVN Version: @svn.version@</description>

          <display-name>xxxEAR</display-name>

          <module id="WebModule_1149786663838">

              <web>

                  <web-uri>xxxWeb.war</web-uri>

                  <context-root>xxxWeb</context-root>

              </web>

          </module>

      </application>

       

      When I view my Jboss Deployment folder ( .plugins\org.jboss.ide.eclipse.as.core\JBoss_6.0_Runtime_Server1297809120619\tempDeploy ) I see the following structure:

       

           | tempDeploy

                | xxxEAR.ear

                | xxxWar.jar

       

      What I don't understand is why my Web project, which should be a war is being packaged as a .jar. Can someone help me figure out how to make my Web project a War inside the ear instead of a jar.

       

      Thanks