|
3
|
| Michael Oryl · 技术社区 · 11 年前 |
|
|
1
2
在servlet定义中,在web.xml中,新属性名为:
如果在代码中设置,则为:
参见: Jersey 2 Constants 哪些链接到 MessageProperties constant JAXB_PROCESS_XML_ROOT_ELEMENT 这修复了Jersey 2.x中由Jersey 1.x中的com.sun.Jersey.config.feature.XmlRootElementProcessing解决的问题。 它是 documented here . |