'WARNING: JAXBContext implementation could not be found. WADL feature is disabled

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?



Solution 1:[1]

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>

Solution 2:[2]

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);

Source: https://stackoverflow.com/a/43341597/1313699

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Alfredo Tostón
Solution 2 Branislav Kuliha