Hi,

Using Spring 3.1.3.RELEASE + Camel 2.12.1 + CXF 2.7.7, I get this exception

java.lang.IncompatibleClassChangeError: class
org.springframework.core.LocalVariableTableParameterNameDiscoverer$ParameterNameDiscoveringVisitor
has interface org.springframework.asm.ClassVisitor as super class

when I run Camel in Tomcat (but I can also reproduce this error when
running locally my camel project so they are not related).

https://gist.github.com/7123359

I have added this exclusion to camel-cxf but that does not help a lot

        <dependency>
            <groupId>org.apache.camel</groupId>
            <artifactId>camel-cxf</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-asm</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

but that does not help a lot. Any idea is welcome ?

Regards,

-- 
Charles Moulliard
Apache Committer / Architect @RedHat
Twitter : @cmoulliard | Blog :  http://cmoulliard.github.io

Reply via email to