java.lang.IllegalStateException

LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Thu Sep 11 13:25:05 WIB 2014]; root of context hierarchy

Samebug tips1

Execute mvn dependency:tree from your project's root directory.


Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web22856

  • via Spring JIRA by Rudi Wijaya, 1 year ago
    LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Thu Sep 11 13:25:05 WIB 2014]; root of context hierarchy
  • via Spring JIRA by Rudi Wijaya, 1 year ago
    LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Thu Sep 11 13:25:05 WIB 2014]; root of context hierarchy
  • LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Thu Sep 11 14:25:27 WIB 2014]; root of context hierarchy
  • Stack trace

    • java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Thu Sep 11 13:25:05 WIB 2014]; root of context hierarchy at org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:357)[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:877)[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:836)[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:579)[spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:115)[spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4837)[catalina.jar:7.0.37] at org.apache.catalina.core.StandardContext.__stop(StandardContext.java:5483)[catalina.jar:7.0.37] at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java)[catalina.jar:7.0.37] at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)[catalina.jar:7.0.37] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)[catalina.jar:7.0.37] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)[catalina.jar:7.0.37] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)[catalina.jar:7.0.37] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_05] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_05] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_05] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_05]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 2 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    2 times, 10 months ago
    144 more bugmates