I am experiencing difficulties deploying EAR files on JBoss (version 3.0.3). The particular J2EE application that I have a problem deploying is called "interest"; it consists of two modules:
(1) a web module - interest.war;
(2) an ejb module - interest.jar.
I create an interest.ear file and copy it to the /jboss-3.0.3/server/default/deploy directory on my system runnung Microsoft Windows 95.
I obtain the following error message on my console window:
Status: Deployment FAILED reason: Element type "web-app" is not declared.:
- nested throwable : (org.xml.sax.SAXParseException: Element type "web-app" is not declared).
How do I solve this problem? I would appreciate any help you can give me.
the problem is in your deployment descriptors, you need to recheck them and add the missing web-app element