org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.integration.config.RouterFactoryBean#1': Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'java.util.LinkedHashMap' to required type 'java.util.Map' for property 'channelMappings'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [com.example.common.type.EventType] to required type [java.lang.String] for property 'channelMappings[CREATE]': no matching editors or conversion strategy found

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Adam Pounder, 1 year ago
'java.util.LinkedHashMap' to required type 'java.util.Map' for property 'channelMappings'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [com.example.common.type.EventType] to required type [java.lang.String] for property 'channelMappings[CREATE]': no matching editors or conversion strategy found
via Spring JIRA by Adam Pounder, 1 year ago
'java.util.LinkedHashMap' to required type 'java.util.Map' for property 'channelMappings'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [com.example.common.type.EventType] to required type [java.lang.String] for property 'channelMappings[CREATE]': no matching editors or conversion strategy found
via Stack Overflow by Jayadev
, 2 years ago
Error creating bean with name 'org.springframework.integration.jms.ChannelPublishingJmsMessageListener#0': Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value
via Stack Overflow by Adam
, 2 years ago
'org.springframework.core.env.StandardEnvironment' to required type 'com.adamish.test.Environment' for property 'environment'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.springframework.core.env.StandardEnvironment] to required type [com.adamish.test.Environment] for property 'environment': no matching editors or conversion strategy found
via Stack Overflow by evgeniy ivanov
, 2 years ago
Error creating bean with name 'userService' defined in class path resource [application-context.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of
via Stack Overflow by AJ1986
, 2 years ago
Error creating bean with name 'agencyDetailsInterfaceService' defined in class path resource [spring/aas-service.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.integration.config.RouterFactoryBean#1': Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'java.util.LinkedHashMap' to required type 'java.util.Map' for property 'channelMappings'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [com.example.common.type.EventType] to required type [java.lang.String] for property 'channelMappings[CREATE]': no matching editors or conversion strategy found
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:547)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760)

Users with the same issue

2 times, 1 week ago
2 times, 3 months ago
Once, 5 months ago
Once, 1 year ago
4 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.