jboss-ejb3.xml validation error in JBoss Developer Studio(JBDS) / Eclipse
Issue
- I have a
jboss-ejb3.xmlconfiguration file, I created it following Development Guide, the schema file is here: jboss-ejb3-2_0.xsd. And I have validation error when enable xml validator in Eclipse / JBDS 7. - I have xml validation error in Eclipse, the error happens even for an empty file, example
jboss-ejb3.xml:
<?xml version="1.0" encoding="UTF-8"?>
<jboss:ejb-jar
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:jboss="http://www.jboss.com/xml/ns/javaee"
xmlns:security="urn:security"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss-ejb3-2_0.xsd
http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd"
version="3.1">
<assembly-descriptor>
</assembly-descriptor>
</jboss:ejb-jar>
Environment
- Eclipse
- JBoss Developer Studio (JBDS)
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.
