标签: java rest jaxb jax-rs soapui
对于REST api,我创建了一个带有@XMLRootElement注释的类,当在SOAPUi中提供请求时,得到以下错误。
JAXBException occurred : unable to marshal type "mypackage.myclass."as an element because it is not known to this context..
如何解决此错误?