[jboss-user] [Beginner's Corner] - The deployment descriptor of the module 'xxx.war' cannot be loaded or found.

Michael Helfer do-not-reply at jboss.com
Wed Feb 16 11:28:14 EST 2011


Michael Helfer [http://community.jboss.org/people/mhelfer] created the discussion

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

To view the discussion, visit: http://community.jboss.org/message/587806#587806

--------------------------------------------------------------
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 http://java.sun.com/xml/ns/j2ee" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee  http://java.sun.com/xml/ns/j2ee/application_1_4.xsd 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
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/587806#587806]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110216/a53ff927/attachment-0001.html 


More information about the jboss-user mailing list