java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: Root WebApplicationContext: startup date [Thu Sep 10 17:14:02 CST 2015]; root of context hierarchy

GitHub | soiff | 1 year ago
  1. 0

    编译出错org.xml.sax.SAXParseException; systemId: http://www.springframework.org/schema/mvc/spring-mvc.xsd; lineNumber: 24; columnNumber: 20; cos-all-limited.1.2

    GitHub | 1 year ago | soiff
    java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: Root WebApplicationContext: startup date [Thu Sep 10 17:14:02 CST 2015]; root of context hierarchy
  2. 0

    Another 404 error on a simple app:

    Stack Overflow | 2 years ago
    java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: Root WebApplicationContext: startup date [Fri Apr 03 16:09:01 CEST 2015]; root of context hierarchy
  3. 0

    parsing XML document from ServletContext resource [/WEB-INF/applicationContext.xml];

    Stack Overflow | 2 years ago | Drew1208
    java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: Root WebApplicationContext: startup date [Tue Apr 14 19:57:43 CEST 2015]; root of context hierarchy
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    WebSocket Security Java Config

    Stack Overflow | 2 years ago | Alex
    java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: Root WebApplicationContext: startup date [Mon May 04 14:25:20 EEST 2015]; root of context hierarchy
  6. 0

    Caused by: org.xml.sax.SAXParseException; lineNumber: 28; columnNumber: 81; - you23hai45(游海东)的专栏 - 博客频道 - CSDN.NET

    csdn.net | 1 year ago
    java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: Root WebApplicationContext: startup date [Fri May 01 09:57:46 CST 2015]; root of context hierarchy

  1. linxiaolong 2 times, last 2 weeks ago
  2. kjhdofjosvs 2 times, last 1 month ago
  3. marcbouvierdav 3 times, last 2 months ago
  4. andyglick 6 times, last 2 months ago
  5. linxiaolong 2 times, last 3 months ago
4 more registered users
91 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

    ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: Root WebApplicationContext: startup date [Thu Sep 10 17:14:02 CST 2015]; root of context hierarchy

    at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster()
  2. Spring Context
    AbstractApplicationContext.close
    1. org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:344)
    2. org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:331)
    3. org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:869)
    4. org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:836)
    4 frames
  3. Spring
    ContextLoaderListener.contextDestroyed
    1. org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:579)
    2. org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:115)
    2 frames
  4. com.baidu.dsp
    ContextListener.contextDestroyed
    1. com.baidu.dsp.common.listener.ContextListener.contextDestroyed(ContextListener.java:16)
    1 frame
  5. Glassfish Core
    HostConfig.manageApp
    1. org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5063)
    2. org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5723)
    3. org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
    4. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)
    5. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
    6. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    7. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
    8. org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1779)
    8 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  7. Embedded GlassFish Web
    BaseModelMBean.invoke
    1. org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
    1 frame
  8. Java RT
    JmxMBeanServer.invoke
    1. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
    2. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
    2 frames
  9. Embedded GlassFish Web
    MBeanFactory.createStandardContext
    1. org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:618)
    2. org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:565)
    2 frames
  10. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  11. Embedded GlassFish Web
    BaseModelMBean.invoke
    1. org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
    1 frame
  12. Java RT
    Thread.run
    1. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
    2. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
    3. javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1487)
    4. javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:97)
    5. javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1328)
    6. javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1420)
    7. javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:848)
    8. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    9. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    10. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    11. java.lang.reflect.Method.invoke(Method.java:606)
    12. sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
    13. sun.rmi.transport.Transport$1.run(Transport.java:177)
    14. sun.rmi.transport.Transport$1.run(Transport.java:174)
    15. java.security.AccessController.doPrivileged(Native Method)
    16. sun.rmi.transport.Transport.serviceCall(Transport.java:173)
    17. sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:556)
    18. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:811)
    19. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:670)
    20. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    21. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    22. java.lang.Thread.run(Thread.java:745)
    22 frames