Java RestFull WebService: JAX-RS implementation with Jersey 2.3.1 libraries

前端 未结 5 1214
一生所求
一生所求 2020-11-27 18:18

I am trying to run a simple \"Hallo World\" application Jersey 2.3.1 REST service on JBoss jboss-eap-6.1 AS. In web.xml i have disabled restEasy library. During deployment i

5条回答
  •  孤城傲影
    2020-11-27 19:06

    This is a Jersey version conflict problem. I had the same problem. Here is how it is resolved:

    1. See your package dependencies "mvn dependency:tree"

    2. If there is a library dependency that depends on an old Jersey version, you could add an exclusions section in the dependency tag for that library in pom.xml

提交回复
热议问题