Hi everyone,
I'm currently starting to use docx4j and i'm having trouble when loading any docx document. I'm using JBOSS and the error it gives is the following:
2009-07-13 18:56:21,577 INFO [org.docx4j.openpackaging.parts.Part] Constructing /_rels/.rels
2009-07-13 18:56:23,138 ERROR [STDERR] javax.xml.bind.JAXBException: Provider com.sun.xml.bind.v2.ContextFactory could not be instantiated: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
Two classes have the same XML type name "objectFactory". Use @XmlType.name and @XmlType.namespace to assign different names to them.
this problem is related to the following location:
at org.docx4j.wml.ObjectFactory
this problem is related to the following location:
at org.docx4j.dml.ObjectFactory
- with linked exception:
[com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
Two classes have the same XML type name "objectFactory". Use @XmlType.name and @XmlType.namespace to assign different names to them.
this problem is related to the following location:
at org.docx4j.wml.ObjectFactory
this problem is related to the following location:
at org.docx4j.dml.ObjectFactory
]
2009-07-13 18:56:23,138 ERROR [STDERR] at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:162)
Any ideas on what is happening?
Thanks in advance
Hugo Pais