users@jersey.java.net

Re: A blog entry on using the Jersey Test Framework

From: Andrey Kopachevsky <kopachevsky_at_gmail.com>
Date: Thu, 6 May 2010 05:47:44 -0700 (PDT)

Hi Irving, I had similar problem here is my solution:

jersey-test-framework has transitive dependency to embeded glassfish jar

<groupId>org.glassfish.embedded</groupId>
<artifactId>glassfish-embedded-all</artifactId>

And this glassfish jar contains old version of Grizzly client, so easy
solution here is to exclude this dependency using this code:

                <dependency>
                        <groupId>com.sun.jersey</groupId>
                        <artifactId>jersey-test-framework</artifactId>
                        <version>${project.version}</version>
                        <scope>test</scope>
                        <exclusions>
                                <exclusion>
                                        <groupId>org.glassfish.embedded</groupId>
                                        <artifactId>glassfish-embedded-all</artifactId>
                                </exclusion>
                        </exclusions>
                </dependency>
-- 
View this message in context: http://jersey.576304.n2.nabble.com/A-blog-entry-on-using-the-Jersey-Test-Framework-tp2650615p5013983.html
Sent from the Jersey mailing list archive at Nabble.com.