7

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?

Abra
  • 15,674
  • 6
  • 30
  • 39
Moaz Basheer
  • 73
  • 1
  • 6

2 Answers2

4

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>
0

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