JAX-RS Jersey Client on Websphere 8.5

前端 未结 2 1318
执念已碎
执念已碎 2020-12-19 21:06

I\'m trying to deploy jax-rs client application that use jersey on was 8.5.
I was hoping I won\'t need to pack jersey jars inside my war, because was will provide them.<

2条回答
  •  情歌与酒
    2020-12-19 21:56

    WebSphere 8.5 includes a JAX-RS implementation, but it's based on Apache Wink, not Jersey. So if you want to use what is already provided, I think you'll need to create a Wink client instead of a Jersey one.

    Or, you can disable the WAS JAX-RS implementation which I'd guess will allow you to use Jersey instead, either deployed in your application or as a shared library as zargarf suggests.

提交回复
热议问题