java.lang.IllegalStateException: Container missing

Spring JIRA | Ilayaperumal Gopinathan | 3 years ago
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    Spring Boot 1.4 changed their annotation system a little. Try using the @SpringBootApplication annotation for better results.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0
    samebug tip
    If you're using boot 1.4.x you need to modify the @springBootTest annotation to @SpringBootTest(classes = DataFlowServerConfiguration.class). 1.3.8 doesn't have this problem as well.
    via GitHub by trisberg
  4. 0

    Why is ServletServerContainerFactoryBean casuing problems when testing?

    Stack Overflow | 2 years ago | M1990
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'createWebSocketContainer' defined in class path resource [com/alldata/webmanager/WebSocketConfig.class]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: A ServletContext is required to access the javax.websocket.server.ServerContainer instance

  1. Dunmer 1 times, last 7 days ago
  2. tvrmsmith 1 times, last 3 weeks ago
  3. SteVio1989 8 times, last 2 months ago
  4. jpvee 2 times, last 3 months ago
  5. Hronom 3 times, last 3 months ago
3 more registered users
49 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

    Container missing

    at org.springframework.util.Assert.state()
  2. Spring Core
    1. org.springframework.util.Assert.state(
    1 frame
  3. org.springframework.xd
    1. org.springframework.xd.dirt.core.StreamDeploymentsPath.hasDeploymentInfo(
    3. org.springframework.xd.dirt.server.ContainerListener.getContainersForStreamModule(
    4. org.springframework.xd.dirt.server.ContainerListener.redeployStreams(
    5. org.springframework.xd.dirt.server.ContainerListener.onChildAdded(
    6. org.springframework.xd.dirt.server.ContainerListener.childEvent(
    6 frames