This probably isn't a JBoss issue, but I wanted to see if someone from this site had this problem since a lot of people here are developing ejb 3 apps.
In my ejb.xml file I put in the following xsd definitions: <?xml version="1.0" encoding="UTF-8"?> <ejb-jar xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd" version="3.0"> LTMS Controllers <display-name>LTMS Controllers</display-name> <enterprise-beans> ... </ejb-jar> This was an ejb2.0 deployment descriptor and I just modifed the added the schema information above. When I deploy I get the following warning: 15:57:25,910 WARN [JBossEntityResolver] Trying to resolve systemId as a non-file URL: http://java.sun.com/xml/ns/javaee/javaee_web_services_client_1_2.xsd 15:58:07,863 WARN [SaxJBossXBParser] schema_reference.4: Failed to read schema document 'javaee_web_services_client_1_2.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>. @ http://java.sun.com/xml/ns/javaee/javaee_5.xsd[78,69] 15:58:07,988 WARN [ServiceController] Problem creating service jboss.j2ee:service=EJB3,module=LTMS_Controllers.jar org.jboss.xb.binding.JBossXBException: Failed to parse source: src-resolve: Cannot resolve the name 'javaee:service-refGroup' to a(n) 'group' component. @ http://java.sun.com/xml/ns/javaee/javaee_5.xsd[798,49] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:141) It seems that the ejb-jar_3_0.xsd included javaee_5.xsd which includes javaee_web_services_client_1_2.xsd which is having the problem. Any ideas if I'm doing something wrong or if this is some sort of bug? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949732#3949732 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949732 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
