Results 1 to 2 of 2

Thread: ASM conflict when apache cxf added to pom

Hybrid View

  1. #1
    Join Date
    Sep 2011
    Posts
    11

    Default [RESOLVED] ASM conflict when apache cxf added to pom

    Hi,
    I've run into a problem with asm dependencies when added apache cxf in spring.
    I've added apache cxf in maven:
    Code:
             <dependency>
                <groupId>org.apache.cxf</groupId>
                <artifactId>cxf-rt-frontend-jaxws</artifactId>
                <version>${cxf.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.cxf</groupId>
                <artifactId>cxf-rt-transports-http</artifactId>
                <version>${cxf.version}</version>
            </dependency>
    After adding apache cxf I'm getting (on pastebin as it's to long to forum):
    http://pastebin.com/hbFXdnUy

    I've read that it can be because of hibernate - but I removed hibernate dependency in pom.xml (as I used it long time ago) and I'm still getting this problem.
    I can only suspect that spring-asm is conflicting with apache-cxf asm. Does anyone know a solution to this??
    Last edited by galgavu; Oct 19th, 2012 at 06:25 AM.

  2. #2
    Join Date
    Sep 2011
    Posts
    11

    Default

    Problem resolved with small switch of cglib version.
    From:
    Code:
            <dependency>
                <groupId>cglib</groupId>
                <artifactId>cglib-full</artifactId>
                <version>2.0.2</version>
            </dependency>
    To:
    Code:
            <dependency>
                <groupId>cglib</groupId>
                <artifactId>cglib</artifactId>
                <version>2.2.2</version>
            </dependency>

Posting Permissions

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