Exception while generating java object using maven-jaxb2-plugin
pavankumar shetty
Greenhorn
Joined: May 05, 2007
Posts: 4
posted
0
Hi
I am newbie for maven build tool. I am trying to generate java object by parsing xsd using maven-jaxb2-plugin. I am getting the below exception. Please suggest
org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name 'star:PartyABIEType' to a(n) 'type definition' component.
I have added the name space as xmlns:star="http://www.starstandard.org/STAR/5"
I suspect an error in your xsd file. Please attach the full xsd file and post the full output from the mvn run.
Also, did you rty running with -X? And did that give you any extra information? You could attach that output also (redirect the stdout and stderr from mvn to a file).