A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Ant, Maven and Other Build Tools
Exception while generating java object using maven-jaxb2-plugin
Joined: May 05, 2007
Mar 30, 2012 12:13:23
I am newbie for
build tool. I am trying to generate
object by parsing xsd using maven-jaxb2-plugin. I am getting the below exception. Please suggest
: 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"
Joined: May 14, 2008
Mar 30, 2012 18:35:49
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).
JBoss In Action
It is sorta covered in the
JavaRanch Style Guide
subject: Exception while generating java object using maven-jaxb2-plugin
embedding xmlelement tags in classes generated by jaxb and xjc
JAXB2 and JDK 1.6.0 Compatibility Problem
Creating ear file
Error while parsing schema
rad maven software update link wont work
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013