I had no luck getting this to work on tomcat 7. Problem:

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

Fixed by getting rid of the spring-asm dependency in org.restlet.ext.spring

<dependency>
  <groupId>org.restlet.jee</groupId>
  <artifactId>org.restlet.ext.spring</artifactId>
  <version>${restlet-version}</version>
    <exclusions>
        <exclusion>
            <groupId>org.springframework</groupId>
            <artifactId>spring-asm</artifactId>
        </exclusion>
    </exclusions>
</dependency>

Enjoy.




--
View this message in context: 
http://camel.465427.n5.nabble.com/Restlet-Example-on-Tomcat-7-tp5747793.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to