users@jersey.java.net

Re: [Jersey] Jersey with JAXB

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Tue, 14 Oct 2008 13:28:37 +0200

On Oct 9, 2008, at 11:58 PM, John O'Conner wrote:

> On Thu, Oct 9, 2008 at 12:57 PM, Travis Reeder <treeder_at_gmail.com>
> wrote:
>> Had to figure this same thing out a couple weeks ago, posted it here:
>> http://blog.spaceprogram.com/2008/10/using-jaxb-without-annotations.html
>> Travis
>
>
> That's pretty good advice. I'm giving it a try.
>
> I do see this error however:
>
> 14:55:07,906 ERROR [STDERR] javax.xml.bind.JAXBException:
> "com.joconner.account" doesnt contain ObjectFactory.class or
> jaxb.index
>
> I'm not sure what this means. jaxb.index? Have you created that
> somewhere?
>

See the JavaDoc here:

http://java.sun.com/javase/6/docs/api/javax/xml/bind/JAXBContext.html#newInstance(java.lang.String,%20java.lang.ClassLoader)

Paul.

> Thanks,
> John
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>