Reply didn't work correctly, so here we go again:
Jochen Wiedmann wrote:
In theory, the actual JAXBContext is derived from the abstract class
JAXBContext. In other words, there should not be a problem, if the
parent class adds additional methods. Could you provide more details?
In particular, a stack trace?
The important part of the stack trace is this:
---8<---
java.lang.ClassCastException:
com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl cannot be cast to
org.apache.ws.jaxme.impl.JAXBContextImpl
at
de.tewisoft.someproject.jaxme.ObjectFactory.<init>(ObjectFactory.java:160)
...
---8<---
The relevant part of the generated source of the ObjectFactory:
---8<---
public ObjectFactory() throws javax.xml.bind.JAXBException {
jaxbContext = (org.apache.ws.jaxme.impl.JAXBContextImpl)
javax.xml.bind.JAXBContext.newInstance("de.tewisoft.someproject.jaxme");
}
---8<---
Bye, Thomas.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]