I'm developing a web application using Spring 4.1.4 that cannot deploy into jetty9x embedded container using cargo-maven2-plugin:1.4.12.
I have found that the issue might be related to including the wrong version of the org.ow2.asm:asm dependency.
It seems that cargo is including version 4.1 of asm library (see JettyArtifactResolver.java:259) but by looking into Jetty 9.2.7 maven dependencies it seems to use version 5.0.1 instead. See difference here:
I replaced version 4.1 with 5.0.1 on my local maven repository and seems to work ok. The problem is that I cannot change the dependency on my maven pom.xml because is hardcoded inside JettyArtifactResolver class.
The exception I get starting the container is like: