users@jersey.java.net

Re: Build failed

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Mon, 07 Apr 2008 18:39:13 +0200

On Apr 7, 2008, at 6:14 PM, Jakub Podlesak wrote:

>
> Hi Dianne,
>
> Please try again with jdk5, it should work fine.
> The issue is perhaps the jaxb bundled in jdk6
> is in the way of jaxb bundled with jersey.
>

Use JDK 1.6 update 4, which ships with JAXB 2.1.

Paul.

> ~Jakub
>
> On Mon, Apr 07, 2008 at 11:35:21AM -0400, Dianne Jiao wrote:
>> Hi,
>>
>> Just updated jersey workspace, got this failure during build:
>>
>> /files/projects/REST/jersey/jersey/src/impl/com/sun/ws/rest/impl/
>> json/JSONMarshaller.java:106:
>> cannot find symbol
>> symbol : method marshal(java.lang.Object,java.io.File)
>> location: interface javax.xml.bind.Marshaller
>> jaxbMarshaller.marshal(jaxbObject, file);
>>
>> Dianne
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
>> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>