a fragment of the pom.xml:
<dependencies>
<dependency>
<groupId>com.sun.xml.stream</groupId>
<artifactId>sjsxp</artifactId>
<version>1.0.1</version>
</dependency>
<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-server</artifactId>
<version>${jersey-version}</version>
</dependency>
<dependency>
<groupId>com.sun.jersey.contribs</groupId>
<artifactId>jersey-multipart</artifactId>
<version>${jersey-version}</version>
</dependency>
<dependency>
<groupId>net.sf.saxon</groupId>
<artifactId>saxon-dom</artifactId>
<version>8.7</version>
</dependency>
<dependency>
<groupId>net.sf.saxon</groupId>
<artifactId>saxon-xpath</artifactId>
<version>8.7</version>
</dependency>
<dependency>
<groupId>javaee</groupId>
<artifactId>javaee-api</artifactId>
<version>5</version>
<scope>provided</scope>
</dependency>
</dependencies>
<properties>
<jersey-version>1.1.2-ea</jersey-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
2009/10/10 Felipe Gaścho <fgaucho_at_gmail.com>:
> how to declare it in Maven pom ?
>
> which dependency should I use ?
>
> thanks for your response.. I will google for that lib...........
>
> On Sat, Oct 10, 2009 at 11:54 AM, Pavel Bucek <Pavel.Bucek_at_sun.com> wrote:
>> Hello Felipe,
>>
>> do you have jersey-gf-statsproviders.jar [1] in your EAR? This might be some
>> ugly classloading issue (jersey from EAR can't properly access
>> glassfish-provided stats provider module)
>>
>> Pavel
>>
>> [1]
>> http://download.java.net/maven/2/com/sun/jersey/glassfish/v3/osgi/jersey-gf-statsproviders/
>>
>>
>>
>> Felipe Gaścho wrote:
>>>
>>> My application is failing to deploy in GFv3b66 due to a Jersey
>>> dependency:
>>>
>>> [exec] com.sun.enterprise.admin.cli.CommandException: remote failure:
>>> Exception while loading the app : java.lang.Exception:
>>> java.lang.IllegalStateException: ContainerBase.addChild: start:
>>> org.apache.catalina.LifecycleException:
>>> org.apache.catalina.LifecycleException:
>>> com.sun.jersey.spi.service.ServiceConfigurationError:
>>> com.sun.jersey.spi.monitoring.GlassfishMonitoringProvider: The class
>>>
>>> com.sun.jersey.server.spi.monitoring.glassfish.GlassfishMonitoringServiceProvider
>>> implementing provider interface
>>> com.sun.jersey.spi.monitoring.GlassfishMonitoringProvider could not be
>>> instantiated: null
>>>
>>> Strange because I am including the libs of Jersey in the EAR.. perhaps
>>> a version problem or other
>>>
>>> Step by step my app is getting close to deploy in GF v3.. my goal is
>>> to finish the day blogging about the success :) your help is
>>> welcome.........
>>>
>>>
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
>> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>>
>>
>
>
>
> --
> Looking for a client application for this service:
> http://fgaucho.dyndns.org:8080/arena-http/wadl
>
--
Looking for a client application for this service:
http://fgaucho.dyndns.org:8080/arena-http/wadl