java.lang.IllegalStateException: Failed to execute CommandLineRunner

  1. 0

    Simple WebMvcTest fails with Spring Boot 1.4M3 due to missing SpringBootConfiguration

    GitHub | 7 months ago | jgoldhammer
    java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test
  2. 0

    How to use Spring Hatoas ControllerLinkBuilder for a Thymeleaf templated scheduled email

    Stack Overflow | 1 year ago | Romell
    java.lang.IllegalStateException: Could not find current request via RequestContextHolder. Is this being called from a Spring MVC handler?
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    jetty 9.3.1 and 9.3.2 can't find resource in /src/main/webapp

    GitHub | 1 year ago | zhanhb
    java.lang.IllegalStateException: Cannot find template location: /WEB-INF/templates (please add some templates or check your Thymeleaf configuration)
  5. 0

    Unable to configure LocalContainerEntityManagerFactoryBean from @EntityScan, ensure an appropriate bean is registered.

    GitHub | 12 months ago | f0def
    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/csus]]

  1. tvrmsmith 2 times, last 2 weeks ago
  2. tvrmsmith 4 times, last 1 month ago
  3. schoetty 8 times, last 7 months ago
  4. Александр Пастухов 1 times, last 7 months ago
48 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. java.lang.IllegalStateException

    receive is not supported, because no pollable reply channel has been configured

    at org.springframework.util.Assert.state()
  2. Spring Core
    Assert.state
    1. org.springframework.util.Assert.state(Assert.java:392)[spring-core-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    1 frame
  3. Spring Integration Core
    GatewayCompletableFutureProxyFactoryBean.invoke
    1. org.springframework.integration.gateway.MessagingGatewaySupport.receive(MessagingGatewaySupport.java:380)[spring-integration-core-4.2.8.RELEASE.jar:na]
    2. org.springframework.integration.gateway.GatewayProxyFactoryBean.invokeGatewayMethod(GatewayProxyFactoryBean.java:416)[spring-integration-core-4.2.8.RELEASE.jar:na]
    3. org.springframework.integration.gateway.GatewayProxyFactoryBean.doInvoke(GatewayProxyFactoryBean.java:382)[spring-integration-core-4.2.8.RELEASE.jar:na]
    4. org.springframework.integration.gateway.GatewayProxyFactoryBean.invoke(GatewayProxyFactoryBean.java:373)[spring-integration-core-4.2.8.RELEASE.jar:na]
    5. org.springframework.integration.gateway.GatewayCompletableFutureProxyFactoryBean.invoke(GatewayCompletableFutureProxyFactoryBean.java:64)[spring-integration-core-4.2.8.RELEASE.jar:na]
    5 frames
  4. Spring AOP
    JdkDynamicAopProxy.invoke
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)[spring-aop-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    2 frames
  5. com.sun.proxy
    $Proxy44.getStatus
    1. com.sun.proxy.$Proxy44.getStatus(Unknown Source)[na:na]
    1 frame
  6. com.example
    AmqpTestClientApplication.lambda$commandLineRunner$0
    1. com.example.AmqpTestClientApplication.lambda$commandLineRunner$0(AmqpTestClientApplication.java:20)[classes/:na]
    1 frame
  7. Spring Boot
    SpringApplication.callRunner
    1. org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:800)[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
    1 frame