Problems generating JAXB classes using xjc
824821Dec 17 2010 — edited Aug 30 2011I am quite new to Jaxb and have been trying to work through the example on http://www.oracle.com/technetwork/articles/javase/index-140168.html and have run into a brick wall. I have used the following command using xjc to generate the classes:
C:\jaxb-ri-20101119\bin>xjc -p test.jaxb c:\Code\books.xsd -d work
parsing a schema...
compiling a schema...
test\jaxb\BookCategoryType.java
test\jaxb\BookType.java
test\jaxb\Collection.java
test\jaxb\ObjectFactory.java
But I do not seem to have generated all the files that are required to run the examples. Can any one tell me what I am doing wrong?
CollectionType.java - This is missing
Collection.java
BookType.java
ObjectFactory.java
impl/CollectionTypeImpl.java - This is missing
impl/CollectionImpl.java - This is missing
impl/BookTypeImpl.java - This is missing