org.springframework.messaging.core.DestinationResolutionException: failed to look up MessageChannel with name 'errorChannel' in the BeanFactory.; nested exception is org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with na me 'errorChannel': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a b ean from a BeanFactory in a destroy method implementation!) at org.springframework.integration.support.channel.BeanFactoryChannelResolver.resolveDestination(BeanFactoryChannelResolver.java:112)

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by wigas
, 1 year ago
failed to look up MessageChannel with name 'errorChannel' in the BeanFactory.; nested exception is org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with na me 'errorChannel': Singleton bean creation not allowed
via Spring JIRA by Glenn renfro, 1 year ago
failed to look up MessageChannel with name 'errorChannel' in the BeanFactory (and there is no HeaderChannelRegistry present).
via Spring JIRA by Glenn renfro, 1 year ago
failed to look up MessageChannel with name 'errorChannel' in the BeanFactory (and there is no HeaderChannelRegistry present).
via Spring JIRA by Glenn renfro, 1 year ago
failed to look up MessageChannel with name 'errorChannel' in the BeanFactory (and there is no HeaderChannelRegistry present).
via Spring JIRA by Glenn renfro, 1 year ago
failed to look up MessageChannel with name 'errorChannel' in the BeanFactory (and there is no HeaderChannelRegistry present).
via github.com by Unknown author, 1 year ago
failed to look up MessageChannel with name 'errorChannel' in the BeanFactory.; nested exception is org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'errorChannel': Singleton bean creation not allowed
org.springframework.messaging.core.DestinationResolutionException: failed to look up MessageChannel with name 'errorChannel' in the BeanFactory.; nested exception is org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with na me 'errorChannel': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a b ean from a BeanFactory in a destroy method implementation!) at org.springframework.integration.support.channel.BeanFactoryChannelResolver.resolveDestination(BeanFactoryChannelResolver.java:112)
at org.springframework.integration.support.channel.BeanFactoryChannelResolver.resolveDestination(BeanFactoryChannelResolver.java:45)
at org.springframework.integration.channel.MessagePublishingErrorHandler.resolveErrorChannel(MessagePublishingErrorHandler.java:117)
at org.springframework.integration.channel.MessagePublishingErrorHandler.handleError(MessagePublishingErrorHandler.java:80)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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