What Jersey version do I need to download for JDK 1.9?

前端 未结 3 550
日久生厌
日久生厌 2021-02-09 04:22

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

3条回答
  •  太阳男子
    2021-02-09 04:45

    I was getting this error and in my case it had nothing to do with the version of Jersey. It was due to some elastic-search jars namely (elastic-search, elastic-search-core and log4j.2.1.1) that were multi-release jars. Multi-release jars have a folder named version that has some artifacts inside the META-INF. I deleted that folder and it resolved the issue.

    java #jersey #rest #elasticsearch

提交回复
热议问题