Quantcast
Viewing all articles
Browse latest Browse all 10

jaxb bindings cannot find schema

Hello I have the following bindings: <jaxb:bindings xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:simplify="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:annox="http://annox.dev.java.net" jaxb:extensionBindingPrefixes="xjc simplify annox" jaxb:version="2.1"> <jaxb:bindings> <jaxb:globalBindings typesafeEnumMaxMembers="3235"/> </jaxb:bindings> <jaxb:bindings schemaLocation="jaxb/niem2/socd-x.xsd"></jaxb:bindings> <jaxb:bindings node="xsd:complexType[@name='SurveyControlAndDataMessageType']"> <annox:annotate> <annox:annotate annox:class="javax.xml.bind.annotation.XmlRootElement" name="SurveyControlAndDataMessageType"/> </annox:annotate> </jaxb:bindings> </jaxb:bindings> </jaxb:bindings> My bindings file is in src/main/resources and the xsd is in src/main/resources/jaxb/niem2. However, wenever I build I get: com.sun.istack.SAXParseException2; systemId: file:/C:/work/MOJO/MOJOInterfaces/src/main/resources/bindings.xjb; lineNumber: 16; […]

The post jaxb bindings cannot find schema appeared first on BlogoSfera.


Viewing all articles
Browse latest Browse all 10

Trending Articles