I am using jdk 1.9. I am trying to bring up a simple ReST service. Created the project using the maven archetype: jersey-quickstart-webapp. Then I went ahead and mo
There are quite a few artifacts that you might need to update. To start with you shall check your module's mvn dependency:tree to look out for any source of asm that brings in version < 6.0.x since that is not compatible with Java9. From the current pom.xml and as inferred from your execution logs, you can update
asmasm3.3.1
to
org.ow2.asmasm6.0
Importantly, use Java 9 compatible maven plugins such as -
On a side note, you might end up still facing some other challenges(I can see conflicting jaxb dependencies, even asm might be transitive from jersey) to resolve which you shall run
mvn dependency:analyze
and make sure that conflicting dependencies are excluded in such cases to make use of their updated version.