Paul Sandoz wrote:
>
> On Apr 21, 2009, at 4:13 PM, Farrukh Najmi wrote:
>
>>
>> Oops! My bad I forgot to do that...
>>
>> @Path("/updateRepositoryItem")
>> @POST
>> @Consumes("multipart/form-data")
>> @Produces({"application/xml","application/json"})
>> public Response updateRepositoryItem(
>> @FormDataParam("format") String format,
>> @FormDataParam("id") String id,
>> @FormDataParam("repositoryItem") InputStream repositoryItem,
>> @FormDataParam("contentType") String contentType
>> );
>>
>
> Have you included a dependency on the jersey-multipart module?
>
Yes I have:
<dependency>
<groupId>com.sun.jersey.contribs</groupId>
<artifactId>jersey-multipart</artifactId>
<version>${jersey.version}</version>
</dependency>
I have tried with both these versions with same error:
<!--jersey.version>1.1.0-ea-SNAPSHOT</jersey.version-->
<jersey.version>1.0.3</jersey.version>
Please note that this method was working previously. I then made changes
to my build process for aligning with GWT 1.6.4 and
org.codehaus.mojo:gwt-maven-plugin . This may have changed the webapp
tree in some way that causes this issue. If I can get some guidance as
to what to look for I can report back on my findings. Thanks.
--
Regards,
Farrukh
Web: http://www.wellfleetsoftware.com