org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from 'java.util.Set' to 'java.lang.String'

Spring JIRA | Jorgen Fastrup | 5 years ago
  1. 0

    When trying to access the "Industrys" list.jspx file the Spring MVC throws the execption just below and then displayes an error message to the end-user. SEVERE: Servlet.service() for servlet jsp threw exception org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from 'java.util.Set' to 'java.lang.String' at org.springframework.core.convert.support.GenericConversionService.convert(GenericConversionService.java:181) at org.springframework.expression.spel.support.StandardTypeConverter.convertValue(StandardTypeConverter.java:66) This issues is related to Roo issue 2409. I have attached the Roo project as well as the SQL DDL used to generate the SQL Server 2008 database. The database schema used by the web application contains 4 tables. The tables SECTOR and INDUSTRY each contains one single record and the rest of the tables are empty. The Web application works perfectly as long as I only build a web aplication based on these 3 tables: SECTOR, INDUSTRY and COMPANY. Once I add the COMPANY_COMPETITOR table to the database schema and then regneerates the entire Roo project from scratch the execption above occurs. Note that the table COMPANY_COMPETITOR has 2 individual foreign key constraints that each reference the same column in the COMPANY table. Best regards Jorgen Fastrup

    Spring JIRA | 5 years ago | Jorgen Fastrup
    org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from 'java.util.Set' to 'java.lang.String'
  2. 0

    When trying to access the "Industrys" list.jspx file the Spring MVC throws the execption just below and then displayes an error message to the end-user. SEVERE: Servlet.service() for servlet jsp threw exception org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from 'java.util.Set' to 'java.lang.String' at org.springframework.core.convert.support.GenericConversionService.convert(GenericConversionService.java:181) at org.springframework.expression.spel.support.StandardTypeConverter.convertValue(StandardTypeConverter.java:66) This issues is related to Roo issue 2409. I have attached the Roo project as well as the SQL DDL used to generate the SQL Server 2008 database. The database schema used by the web application contains 4 tables. The tables SECTOR and INDUSTRY each contains one single record and the rest of the tables are empty. The Web application works perfectly as long as I only build a web aplication based on these 3 tables: SECTOR, INDUSTRY and COMPANY. Once I add the COMPANY_COMPETITOR table to the database schema and then regneerates the entire Roo project from scratch the execption above occurs. Note that the table COMPANY_COMPETITOR has 2 individual foreign key constraints that each reference the same column in the COMPANY table. Best regards Jorgen Fastrup

    Spring JIRA | 5 years ago | Jorgen Fastrup
    org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from 'java.util.Set' to 'java.lang.String'
  3. 0

    Entity report does not work

    GitHub | 2 years ago | Mark-de-Haan
    org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type java.util.HashMap<?, ?> to type java.lang.String
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Configurar Grails con MySql | groovy | Iteramos.com

    iteramos.com | 1 year ago
    org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type java.lang.Class<?> to type java.lang.String

  1. shiva768 1 times, last 12 months ago
9 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.springframework.core.convert.ConverterNotFoundException

    No converter found capable of converting from 'java.util.Set' to 'java.lang.String'

    at org.springframework.core.convert.support.GenericConversionService.convert()
  2. Spring Core
    GenericConversionService.convert
    1. org.springframework.core.convert.support.GenericConversionService.convert(GenericConversionService.java:181)
    1 frame
  3. Spring Expression Language (SpEL)
    StandardTypeConverter.convertValue
    1. org.springframework.expression.spel.support.StandardTypeConverter.convertValue(StandardTypeConverter.java:66)
    1 frame