Restlet 2.2 uses the fasterxml jackson library to support json serialization.
There are other data bindings supported by jackson, other than json, and included with the restlet 2.2 distribution. As such, many jars are loaded at program start time. Here is the full list:
- com.fasterxml.jackson.annotations.jar
- com.fasterxml.jackson.core.jar
- com.fasterxml.jackson.csv.jar
- com.fasterxml.jackson.databind.jar
- com.fasterxml.jackson.jaxb.jar
- com.fasterxml.jackson.smile.jar
- com.fasterxml.jackson.xml.jar
- com.fasterxml.jackson.yaml.jar
How do I configure jackson, or restlet, so that it does not attempt to load the formats that I'm not interested in using? e.g. I have no interest in smile, yaml, or csv but if I don't include these jars I get a class not found exception when my server starts.