WARNING: JAXBContext implementation could not be found. WADL feature is disabled
How can I resolve this warning?
Is there a way to enable this WADL feature?
WARNING: JAXBContext implementation could not be found. WADL feature is disabled
How can I resolve this warning?
Is there a way to enable this WADL feature?
I recomend to you this thread.
I've solved this simply adding this dependency in my pom.xml
:
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<version>2.3.3</version>
</dependency>
I removed the warning (with WADL disabled) in my Jersey Application like this:
Map<String, Object> properties = new HashMap<String, Object>();
properties.put("jersey.config.server.wadl.disableWadl", "true");
setProperties(properties);