org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'httpInboundGateway' is expected to be of type 'org.springframework.web.HttpRequestHandler' but was actually of type 'org.springframework.integration.dsl.StandardIntegrationFlow'

Stack Overflow | Josh Chappelle | 3 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Spring IntegrationFlow Http.inboundGateway ambiguous parameter type

    Stack Overflow | 3 months ago | Josh Chappelle
    org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'httpInboundGateway' is expected to be of type 'org.springframework.web.HttpRequestHandler' but was actually of type 'org.springframework.integration.dsl.StandardIntegrationFlow'
  2. 0

    Spring Inject DAO - Assuntos Gerais - GUJ

    com.br | 1 year ago
    org.springframework.web.context.ContextLoaderListener: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'usuarioController': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'usuarioService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'usuarioRepository' must be of type [br.com.projeto.repository.UsuarioRepository], but was actually of type [com.sun.proxy.$Proxy35]
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Unable to implement EntityManger in Spring Hibernate wildfly

    Stack Overflow | 11 months ago | Shiladittya Chakraborty
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is java.lang.AbstractMethodError

    7 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.beans.factory.BeanNotOfRequiredTypeException

      Bean named 'httpInboundGateway' is expected to be of type 'org.springframework.web.HttpRequestHandler' but was actually of type 'org.springframework.integration.dsl.StandardIntegrationFlow'

      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean()
    2. Spring Beans
      AbstractBeanFactory.getBean
      1. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:378)[spring-beans-4.3.6.RELEASE.jar:4.3.6.RELEASE]
      2. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)[spring-beans-4.3.6.RELEASE.jar:4.3.6.RELEASE]
      2 frames
    3. Spring Context
      AbstractApplicationContext.getBean
      1. org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1087)[spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
      1 frame
    4. Spring
      HttpRequestHandlerServlet.init
      1. org.springframework.web.context.support.HttpRequestHandlerServlet.init(HttpRequestHandlerServlet.java:57)[spring-web-4.3.6.RELEASE.jar:4.3.6.RELEASE]
      1 frame
    5. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:158)[tomcat-embed-core-8.5.11.jar:8.5.11]
      1 frame
    6. Glassfish Core
      StandardWrapper.initServlet
      1. org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1183)[tomcat-embed-core-8.5.11.jar:8.5.11]
      1 frame