Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Dependency problem with Spring 3.2 with Spring Data JPA 1.2

  1. #11
    Join Date
    Jul 2012
    Posts
    19

    Default

    Quote Originally Posted by rwalls3 View Post
    This works for most things. But for some reason spring-asm 3.2.0.RELEASE is not on maven central or on spring's own hosted artifactory. http://repo.springsource.org/webapp/...4&q=spring-asm. Anyone have any ideas? Why isn't it published?
    From the release notes :
    C.3 Inlining of spring-asm jar
    In versions 3.0 and 3.1, we published a discrete spring-asm containing repackaged org.objectweb.asm 3.x sources. As of Spring Framework 3.2, we have upgraded to org.objectweb.asm 4.0 and done away with the separate module jar, favoring inlining these classes directly within spring-core. This should cause no migration issue for most users; but on the off chance that you have spring-asm declared directly within your project's build script, you'll want to remove it when upgrading to Spring Framework 3.2.

  2. #12
    Join Date
    May 2006
    Location
    Germany
    Posts
    33

    Default

    Quote Originally Posted by rwalls3 View Post
    This works for most things. But for some reason spring-asm 3.2.0.RELEASE is not on maven central or on spring's own hosted artifactory. http://repo.springsource.org/webapp/...4&q=spring-asm. Anyone have any ideas? Why isn't it published?
    I think spring-asm is no longer required, since at least some of the classes have been moved to spring-core.jar
    (try "Open Type" in Eclipse and search for "ClassVisitor")
    So If you have some maven dependency that transitively includes "spring-asm" you must exclude it in your pom.
    This worked for me ;-)

  3. #13
    Join Date
    Mar 2010
    Location
    Chennai
    Posts
    13

    Default

    Removing spring-asm 3.1.3 dependency it works for me.
    With Love ,
    Maheshkumar P

  4. #14
    Join Date
    Feb 2013
    Posts
    1

    Default

    Work's for me too..... But I also have to remove the internal reference made by spring-ws-core MAVEN artifact to ASM....
    should not the ASM be removed from it by developer's team ?

    I'm using spring-ws-core 2.1.2.RELEASE

  5. #15
    Join Date
    Apr 2013
    Posts
    1

    Default same here

    Quote Originally Posted by maheshrpm View Post
    Removing spring-asm 3.1.3 dependency it works for me.
    This worked for me too. I was integrating jersey + spring. So I just included spring asm in my exclusion

    Code:
    <dependency>
                <groupId>com.sun.jersey.contribs</groupId>
                <artifactId>jersey-spring</artifactId>
                <version>${jersey.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-core</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-web</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-asm</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
    Last edited by devnull; Apr 11th, 2013 at 10:21 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •