users@jaxb.java.net

Re: JAXB mapping

From: Malachi de Ælfweald <malachid_at_gmail.com>
Date: Tue, 28 Aug 2007 08:54:11 -0700

Most likely scenario is that it is using the wrong version of JAXBContext.
Use something like this ( http://fullspan.com/proj/jwhich/index.html ) to
see where it is loading it from.

Malachi

On 8/28/07, Denis <java2xp_at_gmail.com> wrote:
>
> This code
> JAXBContext jc =
> JAXBContext.newInstance("mypackage");
>
>
> throws
> javax.xml.bind.JAXBException: "mypackage " doesnt contain
> ObjectFactory.class or jaxb.index
>
> But mypackage exists and ObjectFactory.class also. And What is jaxb.index?
>
> Where is the dog buried?