Exclude    org.ow2.asm:asm    from provided classpath.
Test classpath already contains org.ow2.asm:asm-debug-all.
<groupId>com.yahoo.vespa</groupId>
<artifactId>container-jersey2</artifactId>
<version>${project.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.ow2.asm</groupId>
+ <artifactId>asm</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>com.yahoo.vespa</groupId>
