if (configurationClass.isPresent()) {
dropwizardEnvironmentModule = new DropwizardEnvironmentModule<T>(configurationClass.get());
} else {
dropwizardEnvironmentModule = new DropwizardEnvironmentModule<Configuration>(Configuration.class);
}
<BUG>modules.add(jerseyContainerModule);
</BUG>
modules.add(dropwizardEnvironmentModule);
initInjector();
if (autoConfig != null) {

if (configurationClass.isPresent()) {
dropwizardEnvironmentModule = new DropwizardEnvironmentModule<T>(configurationClass.get());
} else {
dropwizardEnvironmentModule = new DropwizardEnvironmentModule<Configuration>(Configuration.class);
}
modules.add(new JerseyModule());
modules.add(dropwizardEnvironmentModule);
initInjector();
if (autoConfig != null) {
