开发者

Use JAXB-RI with Jersey

开发者 https://www.devze.com 2023-03-18 22:42 出处:网络
I am using the xjc ant task provided by the JAXB-RI to generate our jaxb classes and provide all the jaxb jars in with my web application开发者_JAVA百科\'s WEB-INF/lib folder. Jersey is still using th

I am using the xjc ant task provided by the JAXB-RI to generate our jaxb classes and provide all the jaxb jars in with my web application开发者_JAVA百科's WEB-INF/lib folder. Jersey is still using the runtime provided jaxb implementation (found in rt.jar) Is there some way to use @Provider to force it to use the jaxb-ri jars?


As far as I understood the problem correctly, this small tutorial should help.

0

精彩评论

暂无评论...
验证码 换一张
取 消