users@jersey.java.net

[Jersey] Re: Jersey error with 0.7-SNAPSHOT + Glassfish 3.1 (Jersey issue)

From: jfarcand <jfarcand.oss_at_gmail.com>
Date: Fri, 21 Jan 2011 08:39:48 -0500

Salut,

forwarding to the Jersey user list as it sound like a problem with
GlassFish + Jersey.

A+

-- Jeanfrancois

On 11-01-21 2:04 AM, Phill wrote:
> I get the following exception whilst trying the 0.7-SNAPSHOT atmosphere-jquery-pubsub sample in Glassfish 3.1
>
> [#|2011-01-21T07:57:04.714+0100|SEVERE|glassfish3.1|com.sun.jersey.core.spi.component.ProviderFactory|_ThreadID=23;_ThreadName=Thread-5;|The provider class, class com.sun.jersey.multipart.impl.MultiPartReaderClientSide, could not be instantiated. Processing will continue but the class will not be utilized
> java.lang.IllegalArgumentException: The MultiPartConfig instance we expected is not present. Have you registered the MultiPartConfigProvider class?
> at com.sun.jersey.multipart.impl.MultiPartReaderClientSide.<init>(MultiPartReaderClientSide.java:102)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at com.sun.jersey.core.spi.component.ComponentConstructor._getInstance(ComponentConstructor.java:198)
> ...
>
> -Phill