For an REST api I have create a class with @XMLRootElement annotation , and when providing the request in SOAPUi , getting below error .
JAXBException occurred : unable to marshal type "mypackage.myclass."as an element because it is not known to this context..
How to resolve this error?