Thnx Malachi, I will try.
I see that it is working this way JAXBContext.newInstance(mypackage
.ObjectFactory.class);
On 8/28/07, Malachi de Ælfweald <malachid_at_gmail.com> wrote:
>
> 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?
>
>
>