java.lang.IllegalStateException

LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Sat Jul 27 18:59:01 CDT 2013]; root of context hierarchy

Samebug tips1

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


rprp

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

Solutions on the web449

  • via Unknown by Nick Williams,
  • via Unknown by Nick Williams,
  • Stack trace

    • java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Sat Jul 27 18:59:01 CDT 2013]; root of context hierarchy at org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:370)[spring-context-4.0.0.M2.jar:4.0.0.M2] at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1060)[spring-context-4.0.0.M2.jar:4.0.0.M2] at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:1013)[spring-context-4.0.0.M2.jar:4.0.0.M2] at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:559)[spring-web-4.0.0.M2.jar:4.0.0.M2] at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:115)[spring-web-4.0.0.M2.jar:4.0.0.M2] at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4879)[catalina.jar:8.0.0-dev] at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5507)[catalina.jar:8.0.0-dev] at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)[catalina.jar:8.0.0-dev] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)[catalina.jar:8.0.0-dev] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)[catalina.jar:8.0.0-dev] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)[catalina.jar:8.0.0-dev] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:698)[catalina.jar:8.0.0-dev] at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1643)[catalina.jar:8.0.0-dev] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0-ea] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[?:1.8.0-ea] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0-ea] at java.lang.reflect.Method.invoke(Method.java:491)[?:1.8.0-ea] at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)[tomcat-coyote.jar:8.0.0-dev] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)[?:1.8.0-ea] at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)[?:1.8.0-ea] at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:468)[catalina.jar:8.0.0-dev] at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:415)[catalina.jar:8.0.0-dev] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0-ea] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[?:1.8.0-ea] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0-ea] at java.lang.reflect.Method.invoke(Method.java:491)[?:1.8.0-ea] at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)[tomcat-coyote.jar:8.0.0-dev] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)[?:1.8.0-ea] at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)[?:1.8.0-ea] at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1465)[?:1.8.0-ea] at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:75)[?:1.8.0-ea] at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1306)[?:1.8.0-ea] at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1398)[?:1.8.0-ea] at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:827)[?:1.8.0-ea] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0-ea] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[?:1.8.0-ea] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0-ea] at java.lang.reflect.Method.invoke(Method.java:491)[?:1.8.0-ea] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)[?:1.8.0-ea] at sun.rmi.transport.Transport$1.run(Transport.java:177)[?:1.8.0-ea] at sun.rmi.transport.Transport$1.run(Transport.java:174)[?:1.8.0-ea] at java.security.AccessController.doPrivileged(Native Method)[?:1.8.0-ea] at sun.rmi.transport.Transport.serviceCall(Transport.java:173)[?:1.8.0-ea] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:556)[?:1.8.0-ea] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:811)[?:1.8.0-ea] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:670)[?:1.8.0-ea] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[?:1.8.0-ea] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[?:1.8.0-ea] at java.lang.Thread.run(Thread.java:724)[?:1.8.0-ea]

    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

    Victor_ITVictor_IT
    6 times, last one
    Михайло ТітовМихайло Тітов
    5 times, last one
    linxiaolonglinxiaolong
    9 times, last one
    kjhdofjosvskjhdofjosvs
    2 times, last one
    marcbouvierdavmarcbouvierdav
    3 times, last one
    144 more bugmates