"Element {http://java.sun.com/xml/ns/j2ee}web-app is not bound as a global element" when deploying application on JBoss
Issue
When attempting to deploy an application on the server, I get the following exception
Deployment "vfszip:/path/to/jboss/server/default/deploy/myapp.war/" is in error due to the following reason(s): org.jboss.xb.binding.JBossXBRuntimeException: Element {http://java.sun.com/xml/ns/j2ee}web-app is not bound as a global element.
Environment
- JBoss Enterprise Application Platform (EAP) 5.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
