Top "Xjc" questions

XJC is a JAXB tool for compiling XSD (XML Schema) to Java source code.

Maven jaxb2:xjc failing to generate code

I have added the following plugin into the Maven build in pom.xml <plugin> <groupId>org.…

maven build jaxb xjc
How to generate jaxb classes from xsd using gradle, jaxb and xjc, classes should have XmlRootElement

We were trying to generate JAXB classes using gradle, xsd and xjc, and JAXB classes should have XmlRootElement annotations so …

java gradle xsd jaxb xjc
What is JAXB generated package-info.java

I'm trying to find some information on what the package-info.java file generated by the JAXB xjc commandline app actually …

java jaxb xjc
JAXB, XJC -> create multiple class files

I'm using JAXB and XJC for first time. I would like to generate Java classes from XML file so I …

java xml jaxb xjc
JAXB binding file: XmlAdapters and package name

I have a binding file like this <jxb:bindings version="2.0" xmlns:jxb="http://java.sun.com/xml/ns/jaxb" …

java jaxb xjc
JAXB External Custom Binding XJC Issue - Parsing results in empty node

Forgive me if this is a duplicate. Here is my binding.xjb file. But now i am getting the regular …

jaxb xjc
JAXB XJC - XPath evaluation results in empty target node?

I've got the following simple XSD document (foo.xsd): <?xml version="1.0" encoding="UTF-8"?> <xsd:schema xmlns:xsd="…

java xpath xsd jaxb xjc
JAXB compiler is binding xs:boolean to Java Boolean wrapper class, instead of boolean primitive type

I'm migrating a project from JAXB 1.0 to JAXB 2.1 and I'm having problems with the datatype mapping. I'm using the Ant …

java xml xsd jaxb xjc
How can I process multiple xsd schemas using jaxb and the Ant xjc task?

I'm using jaxb to generate java object class from xml schemas within an Ant script like so: <!-- JAXB …

ant xsd jaxb xjc
JAXB maven plugin not generating classes

I am trying to generate the java files from the XSD, but the below code doesn't generate. If I uncomment …

java maven jaxb xjc