Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Restlet Example on Tomcat 7

$
0
0
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.

Viewing all articles
Browse latest Browse all 5648

Trending Articles