dev@jersey.java.net

Re: [Jersey] Spring 3.0.x support?

From: Chris Carrier <ctcarrier_at_gmail.com>
Date: Mon, 3 May 2010 09:22:12 -0700

I've been using the jersey-spring jar with Spring 3 and haven't had
any issues so far. I just excluded those dependencies from the
jersey-spring dependency and added my own for Spring 3.

<dependency>
            <groupId>com.sun.jersey.contribs</groupId>
            <artifactId>jersey-spring</artifactId>
            <version>1.1.5</version>
            <exclusions>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-beans</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-context</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-core</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

Chris

On Mon, May 3, 2010 at 9:10 AM, Adam Retter <adam.retter_at_googlemail.com> wrote:
> Hi guys,
>
> Any idea when Spring 3.0.x support will be available with Jersey?
>
> At present the jersey-spring maven pom seems to depend on 2.0.x or
> 2.5.x and its proving quite tricky for me to use Jersey in an existing
> Spring 3.0.x project.
>
> Thanks Adam.
>
> --
> Adam Retter
>
> skype :adam.retter
> http://www.adamretter.org.uk
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: dev-help_at_jersey.dev.java.net
>
>