}
if (configuration.getConversionService() == null) {
Map<String, ConversionService> conversionServices = context.getBeansOfType(ConversionService.class);
if (conversionServices.isEmpty()) {
configuration.setConversionService(new DefaultFormattingConversionService());
} else if (conversionServices.size() == 1) {
configuration.setConversionService(conversionServices.values().iterator().next());
} else {
if (conversionServices.containsKey("mvcConversionService")) {
configuration.setConversionService(conversionServices.get("mvcConversionService"));