"jboss-ejb3.xml" validation errors in JBoss Developer Studio
Issue
We've seen xml validation errors in JBoss Developer Studio (JBDS)
- cvc-elt.1: Cannot find the declaration of element 'jboss'.
And:
Referenced file contains errors (jar:file:PATH-TO-jbdevstudio/studio/plugins/org.jboss.tools.as.catalog_a.b.c.Final-x-y-z.jar!/schema/xsd/jboss-ejb3-2_0.xsd). For more information, right click on the message in the Problems View and select "Show Details..."
Referenced file contains errors (jar:file:PATH-TO-jbdevstudio/studio/plugins/org.jboss.tools.as.catalog_a.b.c.Final-x-y-z.jar!/schema/xsd/jboss-ejb3-spec-2_0.xsd). For more information, right click on the message in the Problems View and select "Show Details..."
After clicking on "Show Details..." menu item, an window pops up with some errors:
sch-props-correct.2: A schema cannot contain two global components with the same name; this schema contains two occurrences of 'http://java.sun.com/xml/ns/javaee,...'.
like below:

Environment
- JBoss Developer Studio (JBDS)
- 7
- 8
- 9
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6
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.
