I've got a ConverterNotFoundException in my Spring Roo-application:
According to this guide I added a Converter to ApplicationConversionServiceFactoryBean.java but still get the error.Throwable occurred: org.springframework.core.convert.ConverterNotFound Exception: No converter found capable of converting from 'com.Dokumentation' to 'java.lang.String'
The code of the aforementioned file is:
Code:@RooConversionService public class ApplicationConversionServiceFactoryBean extends FormattingConversionServiceFactoryBean { @Override protected void installFormatters(FormatterRegistry registry) { super.installFormatters(registry); // Register application converters and formatters } public Converter<Dokumentation, String> getDokumentationConvert() { return new Converter<Dokumentation, String>() { public String convert(Dokumentation source) { return new StringBuilder().append(source.getWsdl()).toString(); } }; } }


Reply With Quote