Announcement Announcement Module
Collapse
No announcement yet.
ASM conflict when apache cxf added to pom Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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, 07:25 AM.

  • #2
    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>

    Comment

    Working...
    X