jersey return 500 when trying return an XML
问题 I have a problem with using Jersey 2.29. Its simple example. I managed to return text-plain, but if I trying return XML i get 500 error. My steps: Start server. Go to http://localhost:8080/demorest/webapi/aliens . I I'll get 500. when I rewrote this example to return text-plain, everything was ok. But with XML is a problem. I looked here: Jersey returns 500 when trying to return an XML response But its not work to me. web.xml <?xml version="1.0" encoding="UTF-8"?> <!-- This web.xml file is