Fix Dropwizard runtime errors