When copying a file from the desktop to a WebDAV network share using macOS, one can get an error about net.java.dev.webdav.jaxrs.xml.properties.LockDiscovery:
2018-03-14 15:23:41,062 ERROR [ExceptionHandler] Status = 500 2018-03-14 15:23:41,063 ERROR [ExceptionHandler] javax.ws.rs.WebApplicationException: javax.xml.bind.MarshalException - with linked exception: [com.sun.istack.SAXException2: class net.java.dev.webdav.jaxrs.xml.properties.LockDiscovery nor any of its super class is known to this context. javax.xml.bind.JAXBException: class net.java.dev.webdav.jaxrs.xml.properties.LockDiscovery nor any of its super class is known to this context.] javax.ws.rs.WebApplicationException: javax.xml.bind.MarshalException - with linked exception: [com.sun.istack.SAXException2: class net.java.dev.webdav.jaxrs.xml.properties.LockDiscovery nor any of its super class is known to this context. javax.xml.bind.JAXBException: class net.java.dev.webdav.jaxrs.xml.properties.LockDiscovery nor any of its super class is known to this context.] at com.sun.jersey.core.provider.jaxb.AbstractRootElementProvider.writeTo(AbstractRootElementProvider.java:159) at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:302) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1510) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409) at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733) at org.nuxeo.ecm.webengine.app.jersey.WebEngineServlet.containerService(WebEngineServlet.java:72) at org.nuxeo.ecm.webengine.app.jersey.WebEngineServlet.service(WebEngineServlet.java:56) ... Caused by: javax.xml.bind.MarshalException - with linked exception: [com.sun.istack.SAXException2: class net.java.dev.webdav.jaxrs.xml.properties.LockDiscovery nor any of its super class is known to this context. javax.xml.bind.JAXBException: class net.java.dev.webdav.jaxrs.xml.properties.LockDiscovery nor any of its super class is known to this context.] at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:326) at com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.java:178) at com.sun.jersey.json.impl.BaseJSONMarshaller.marshallToJSON(BaseJSONMarshaller.java:106) at com.sun.jersey.json.impl.provider.entity.JSONRootElementProvider.writeTo(JSONRootElementProvider.java:168) at com.sun.jersey.core.provider.jaxb.AbstractRootElementProvider.writeTo(AbstractRootElementProvider.java:157) ... 88 more Caused by: com.sun.istack.SAXException2: class net.java.dev.webdav.jaxrs.xml.properties.LockDiscovery nor any of its super class is known to this context. javax.xml.bind.JAXBException: class net.java.dev.webdav.jaxrs.xml.properties.LockDiscovery nor any of its super class is known to this context. at com.sun.xml.bind.v2.runtime.XMLSerializer.reportError(XMLSerializer.java:247) at com.sun.xml.bind.v2.runtime.XMLSerializer.reportError(XMLSerializer.java:262) at com.sun.xml.bind.v2.runtime.property.ArrayReferenceNodeProperty.serializeListBody(ArrayReferenceNodeProperty.java:122) at com.sun.xml.bind.v2.runtime.property.ArrayERProperty.serializeBody(ArrayERProperty.java:159) at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBeanInfoImpl.java:360) at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsSoleContent(XMLSerializer.java:593) at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeRoot(ClassBeanInfoImpl.java:341) at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsRoot(XMLSerializer.java:494) at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:323) ... 92 more Caused by: javax.xml.bind.JAXBException: class net.java.dev.webdav.jaxrs.xml.properties.LockDiscovery nor any of its super class is known to this context. at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getBeanInfo(JAXBContextImpl.java:582) at com.sun.xml.bind.v2.runtime.property.ArrayReferenceNodeProperty.serializeListBody(ArrayReferenceNodeProperty.java:112) ... 98 more