users@jersey.java.net

[Jersey] Re: Jersey Test Framework

From: Robertnac <robertnac_at_googlemail.com>
Date: Tue, 9 Aug 2011 11:01:20 +0200

Hi Pavel,

thanks for the reply. I have already any snippets from your samples.It
worked very well,..... until now :-(

If I use the following dependencies, I get the same error.

<dependency>
                        <groupId>com.sun.jersey.jersey-test-framework</groupId>
                        <artifactId>jersey-test-framework-grizzly2</artifactId>
                        <version>${jersey.version}</version>
                        <scope>test</scope>
                </dependency>

                <dependency>
                        <groupId>com.sun.jersey.jersey-test-framework</groupId>
                        <artifactId>jersey-test-framework-grizzly2</artifactId>
                        <version>${jersey.version}</version>
                        <scope>test</scope>
                </dependency>

But that aside, I want to use conscious grizzly, because I do not want
to use servlet api 3.0.

According http://jersey.java.net/nonav/documentation/latest/test-framework.html
would need to go

Any idea? The test run with java 1.6, but the project is compiled with
1.5. Is that bad?

Regards,

Robert

2011/8/9 Pavel Bucek <pavel.bucek_at_oracle.com>:
> <dependency> <groupId>com.sun.jersey.jersey-test-framework</
> groupId> <artifactId>jersey-test-framework-grizzly2</artifactId>
> <version>${jersey.version}</version> <scope>test</scope> </dependency>