java.lang.IllegalStateException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

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

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

  • Following error happens using Spring 4.1.0.RELEASE when starting webapp in Tomcat 7.0.37. Using Oracle JDK 8u5 in Ubuntu 14.04 64-bit. -Did not happen when using 4.0.6.RELEASE.- Still happened when using 4.0.7.RELEASE if Tomcat Server configuration in Eclipse WTP is "unclean". {code} 13:25:11.866 ERROR | | | host-startStop-1 | o.s.w.c.ContextLoader | Context initialization failed java.lang.VerifyError: Bad type on operand stack Exception Details: Location: org/springframework/context/annotation/ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;Lorg/springframework/cglib/proxy/MethodProxy;)Ljava/lang/Object; @298: invokestatic Reason: Type 'org/springframework/beans/factory/config/ConfigurableBeanFactory' (current frame, stack[1]) is not assignable to 'java/lang/String' Current Frame: bci: @298 flags: { } locals: { 'org/springframework/context/annotation/ConfigurationClassEnhancer$BeanMethodInterceptor', 'java/lang/Object', 'java/lang/reflect/Method', '[Ljava/lang/Object;', 'org/springframework/cglib/proxy/MethodProxy', 'org/springframework/beans/factory/config/ConfigurableBeanFactory', 'java/lang/String', 'org/springframework/context/annotation/Scope', top, top, top, 'org/springframework/beans/factory/config/ConfigurableBeanFactory', 'org/springframework/cglib/proxy/MethodProxy', 'java/lang/Object', '[Ljava/lang/Object;', null } stack: { 'org/springframework/beans/factory/config/ConfigurableBeanFactory', 'org/springframework/beans/factory/config/ConfigurableBeanFactory' } Bytecode: 0000000: 2a2b b700 043a 052c b800 053a 062c 1206 0000010: b800 07c0 0006 3a07 1907 c600 2719 07b9 0000020: 0008 0100 b200 09a5 001a 1906 b800 0a3a 0000030: 0819 0519 08b9 000b 0200 9900 0719 083a 0000040: 062a 1905 bb00 0c59 b700 0d12 0fb6 0010 0000050: 1906 b600 10b6 0011 3a0e 3a0d 3a0c 0336 0000060: 0f19 0c19 0d19 0eb7 0127 360f 190d 3a0b 0000070: 150f 9900 712a 1905 1906 3a0e 3a0d 3a0c 0000080: 0336 0f19 0c19 0d19 0eb7 0127 360f 190d 0000090: 3a0b 150f 9900 4f19 05bb 000c 59b7 000d 00000a0: 120f b600 1019 06b6 0010 b600 113a 0d3a 00000b0: 0c01 3a0e 1905 190d b801 2d19 0c19 0db9 00000c0: 012e 0200 3a0e 190e 3a08 1908 c100 1499 00000d0: 0006 a700 112a 1908 b600 1519 0519 06b7 00000e0: 0016 b02a 2cb7 0017 9900 7412 182c b600 00000f0: 19b6 001a 9900 25b8 001b 121c 05bd 001d 0000100: 5903 2cb6 001e b600 1f53 5904 2cb6 0020 0000110: 53b8 0021 b900 2202 0019 042b 2d3a 0e3a 0000120: 0d3a 0c01 3a0f 1905 190b b801 2d19 0519 0000130: 0bb8 0132 3a10 190c 190d 190e b600 233a 0000140: 0fa7 0010 3a11 1905 1910 b801 3257 1911 0000150: bf19 0519 10b8 0132 5719 0fb0 1905 1906 0000160: b900 0b02 0036 0815 0899 000d 1905 1906 0000170: 03b9 0024 0300 1905 1906 3a0d 3a0c 013a 0000180: 0e19 0519 0db8 012d 190c 190d b901 2e02 0000190: 003a 0e19 0e3a 0915 0899 000d 1905 1906 00001a0: 04b9 0024 0300 1909 b03a 0a15 0899 000d 00001b0: 1905 1906 04b9 0024 0300 190a bf Exception Handler Table: bci [310, 324] => handler: 324 bci [359, 407] => handler: 425 bci [425, 427] => handler: 425 Stackmap Table: append_frame(@65,Object[#94],Object[#172],Object[#96]) full_frame(@213,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Object[#97],Top,Top,Object[#94],Object[#94],Object[#172],Object[#97],Integer},{}) full_frame(@227,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Top,Top,Top,Object[#94],Object[#97],Object[#97],Object[#97],Integer},{}) same_frame(@281) full_frame(@324,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Top,Top,Top,Object[#94],Object[#176],Object[#97],Object[#100],Object[#97],Object[#172]},{Object[#104]}) same_frame(@337) full_frame(@348,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Top,Top,Top,Object[#94],Object[#97],Object[#97],Object[#97],Integer},{}) full_frame(@374,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Integer,Top,Top,Object[#94],Object[#97],Object[#97],Object[#97],Integer},{}) full_frame(@422,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Integer,Object[#97],Top,Object[#94],Object[#94],Object[#172],Object[#97],Integer},{}) full_frame(@425,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Integer,Top,Top,Object[#94],Object[#97],Object[#97],Object[#97],Integer},{Object[#104]}) full_frame(@442,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Integer,Top,Object[#104],Object[#94],Object[#97],Object[#97],Object[#97],Integer},{}) at org.springframework.context.annotation.ConfigurationClassEnhancer.<clinit>(ConfigurationClassEnhancer.java:67) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:372) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanFactory(ConfigurationClassPostProcessor.java:259) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:265) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:126) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.__refresh(AbstractApplicationContext.java:462) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403) ~[spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) ~[spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) [spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797) [catalina.jar:7.0.37] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291) [catalina.jar:7.0.37] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [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] 13:25:11.876 ERROR | | | host-startStop-1 | o.a.c.c.C.[.[.[/] | Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener java.lang.VerifyError: Bad type on operand stack Exception Details: Location: org/springframework/context/annotation/ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;Lorg/springframework/cglib/proxy/MethodProxy;)Ljava/lang/Object; @298: invokestatic Reason: Type 'org/springframework/beans/factory/config/ConfigurableBeanFactory' (current frame, stack[1]) is not assignable to 'java/lang/String' Current Frame: bci: @298 flags: { } locals: { 'org/springframework/context/annotation/ConfigurationClassEnhancer$BeanMethodInterceptor', 'java/lang/Object', 'java/lang/reflect/Method', '[Ljava/lang/Object;', 'org/springframework/cglib/proxy/MethodProxy', 'org/springframework/beans/factory/config/ConfigurableBeanFactory', 'java/lang/String', 'org/springframework/context/annotation/Scope', top, top, top, 'org/springframework/beans/factory/config/ConfigurableBeanFactory', 'org/springframework/cglib/proxy/MethodProxy', 'java/lang/Object', '[Ljava/lang/Object;', null } stack: { 'org/springframework/beans/factory/config/ConfigurableBeanFactory', 'org/springframework/beans/factory/config/ConfigurableBeanFactory' } Bytecode: 0000000: 2a2b b700 043a 052c b800 053a 062c 1206 0000010: b800 07c0 0006 3a07 1907 c600 2719 07b9 0000020: 0008 0100 b200 09a5 001a 1906 b800 0a3a 0000030: 0819 0519 08b9 000b 0200 9900 0719 083a 0000040: 062a 1905 bb00 0c59 b700 0d12 0fb6 0010 0000050: 1906 b600 10b6 0011 3a0e 3a0d 3a0c 0336 0000060: 0f19 0c19 0d19 0eb7 0127 360f 190d 3a0b 0000070: 150f 9900 712a 1905 1906 3a0e 3a0d 3a0c 0000080: 0336 0f19 0c19 0d19 0eb7 0127 360f 190d 0000090: 3a0b 150f 9900 4f19 05bb 000c 59b7 000d 00000a0: 120f b600 1019 06b6 0010 b600 113a 0d3a 00000b0: 0c01 3a0e 1905 190d b801 2d19 0c19 0db9 00000c0: 012e 0200 3a0e 190e 3a08 1908 c100 1499 00000d0: 0006 a700 112a 1908 b600 1519 0519 06b7 00000e0: 0016 b02a 2cb7 0017 9900 7412 182c b600 00000f0: 19b6 001a 9900 25b8 001b 121c 05bd 001d 0000100: 5903 2cb6 001e b600 1f53 5904 2cb6 0020 0000110: 53b8 0021 b900 2202 0019 042b 2d3a 0e3a 0000120: 0d3a 0c01 3a0f 1905 190b b801 2d19 0519 0000130: 0bb8 0132 3a10 190c 190d 190e b600 233a 0000140: 0fa7 0010 3a11 1905 1910 b801 3257 1911 0000150: bf19 0519 10b8 0132 5719 0fb0 1905 1906 0000160: b900 0b02 0036 0815 0899 000d 1905 1906 0000170: 03b9 0024 0300 1905 1906 3a0d 3a0c 013a 0000180: 0e19 0519 0db8 012d 190c 190d b901 2e02 0000190: 003a 0e19 0e3a 0915 0899 000d 1905 1906 00001a0: 04b9 0024 0300 1909 b03a 0a15 0899 000d 00001b0: 1905 1906 04b9 0024 0300 190a bf Exception Handler Table: bci [310, 324] => handler: 324 bci [359, 407] => handler: 425 bci [425, 427] => handler: 425 Stackmap Table: append_frame(@65,Object[#94],Object[#172],Object[#96]) full_frame(@213,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Object[#97],Top,Top,Object[#94],Object[#94],Object[#172],Object[#97],Integer},{}) full_frame(@227,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Top,Top,Top,Object[#94],Object[#97],Object[#97],Object[#97],Integer},{}) same_frame(@281) full_frame(@324,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Top,Top,Top,Object[#94],Object[#176],Object[#97],Object[#100],Object[#97],Object[#172]},{Object[#104]}) same_frame(@337) full_frame(@348,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Top,Top,Top,Object[#94],Object[#97],Object[#97],Object[#97],Integer},{}) full_frame(@374,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Integer,Top,Top,Object[#94],Object[#97],Object[#97],Object[#97],Integer},{}) full_frame(@422,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Integer,Object[#97],Top,Object[#94],Object[#94],Object[#172],Object[#97],Integer},{}) full_frame(@425,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Integer,Top,Top,Object[#94],Object[#97],Object[#97],Object[#97],Integer},{Object[#104]}) full_frame(@442,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Integer,Top,Object[#104],Object[#94],Object[#97],Object[#97],Object[#97],Integer},{}) at org.springframework.context.annotation.ConfigurationClassEnhancer.<clinit>(ConfigurationClassEnhancer.java:67) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:372) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanFactory(ConfigurationClassPostProcessor.java:259) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:265) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:126) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.__refresh(AbstractApplicationContext.java:462) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403) ~[spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) ~[spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) ~[spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797) [catalina.jar:7.0.37] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291) [catalina.jar:7.0.37] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [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] 13:25:11.877 ERROR | | | host-startStop-1 | o.a.c.c.StandardContext | Error listenerStart 13:25:11.889 ERROR | | | host-startStop-1 | o.a.c.c.StandardContext | Context [] startup failed due to previous errors 13:25:11.923 WARN | | | host-startStop-1 | ationConfigWebApplicationContext | Exception thrown from ApplicationListener handling ContextClosedEvent java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events 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.getApplicationEventMulticaster(AbstractApplicationContext.java:344) [spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:331) [spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:869) [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] 13:25:11.925 WARN | | | host-startStop-1 | ationConfigWebApplicationContext | Exception thrown from LifecycleProcessor on context close 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] {code} Log: (note that it crashes when loading the {{command-scanner-context.xml}}, but not before that) {code} Loading XML bean definitions from ServletContext resource [/WEB-INF/shell-context.xml] Loading XML bean definitions from class path resource [META-INF/shell/command-context.xml] Loading XML bean definitions from class path resource [META-INF/shell/ssh-command-context.xml] Loading XML bean definitions from class path resource [META-INF/shell/wrapper-context.xml] Loading XML bean definitions from class path resource [META-INF/shell/command-scanner-context.xml] >> then error {code} On proper startup after the above log should be: {code} org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring {code}
    via by Rudi Wijaya,
  • Following error happens using Spring 4.1.0.RELEASE when starting webapp in Tomcat 7.0.37. Using Oracle JDK 8u5 in Ubuntu 14.04 64-bit. -Did not happen when using 4.0.6.RELEASE.- Still happened when using 4.0.7.RELEASE if Tomcat Server configuration in Eclipse WTP is "unclean". {code} 13:25:11.866 ERROR | | | host-startStop-1 | o.s.w.c.ContextLoader | Context initialization failed java.lang.VerifyError: Bad type on operand stack Exception Details: Location: org/springframework/context/annotation/ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;Lorg/springframework/cglib/proxy/MethodProxy;)Ljava/lang/Object; @298: invokestatic Reason: Type 'org/springframework/beans/factory/config/ConfigurableBeanFactory' (current frame, stack[1]) is not assignable to 'java/lang/String' Current Frame: bci: @298 flags: { } locals: { 'org/springframework/context/annotation/ConfigurationClassEnhancer$BeanMethodInterceptor', 'java/lang/Object', 'java/lang/reflect/Method', '[Ljava/lang/Object;', 'org/springframework/cglib/proxy/MethodProxy', 'org/springframework/beans/factory/config/ConfigurableBeanFactory', 'java/lang/String', 'org/springframework/context/annotation/Scope', top, top, top, 'org/springframework/beans/factory/config/ConfigurableBeanFactory', 'org/springframework/cglib/proxy/MethodProxy', 'java/lang/Object', '[Ljava/lang/Object;', null } stack: { 'org/springframework/beans/factory/config/ConfigurableBeanFactory', 'org/springframework/beans/factory/config/ConfigurableBeanFactory' } Bytecode: 0000000: 2a2b b700 043a 052c b800 053a 062c 1206 0000010: b800 07c0 0006 3a07 1907 c600 2719 07b9 0000020: 0008 0100 b200 09a5 001a 1906 b800 0a3a 0000030: 0819 0519 08b9 000b 0200 9900 0719 083a 0000040: 062a 1905 bb00 0c59 b700 0d12 0fb6 0010 0000050: 1906 b600 10b6 0011 3a0e 3a0d 3a0c 0336 0000060: 0f19 0c19 0d19 0eb7 0127 360f 190d 3a0b 0000070: 150f 9900 712a 1905 1906 3a0e 3a0d 3a0c 0000080: 0336 0f19 0c19 0d19 0eb7 0127 360f 190d 0000090: 3a0b 150f 9900 4f19 05bb 000c 59b7 000d 00000a0: 120f b600 1019 06b6 0010 b600 113a 0d3a 00000b0: 0c01 3a0e 1905 190d b801 2d19 0c19 0db9 00000c0: 012e 0200 3a0e 190e 3a08 1908 c100 1499 00000d0: 0006 a700 112a 1908 b600 1519 0519 06b7 00000e0: 0016 b02a 2cb7 0017 9900 7412 182c b600 00000f0: 19b6 001a 9900 25b8 001b 121c 05bd 001d 0000100: 5903 2cb6 001e b600 1f53 5904 2cb6 0020 0000110: 53b8 0021 b900 2202 0019 042b 2d3a 0e3a 0000120: 0d3a 0c01 3a0f 1905 190b b801 2d19 0519 0000130: 0bb8 0132 3a10 190c 190d 190e b600 233a 0000140: 0fa7 0010 3a11 1905 1910 b801 3257 1911 0000150: bf19 0519 10b8 0132 5719 0fb0 1905 1906 0000160: b900 0b02 0036 0815 0899 000d 1905 1906 0000170: 03b9 0024 0300 1905 1906 3a0d 3a0c 013a 0000180: 0e19 0519 0db8 012d 190c 190d b901 2e02 0000190: 003a 0e19 0e3a 0915 0899 000d 1905 1906 00001a0: 04b9 0024 0300 1909 b03a 0a15 0899 000d 00001b0: 1905 1906 04b9 0024 0300 190a bf Exception Handler Table: bci [310, 324] => handler: 324 bci [359, 407] => handler: 425 bci [425, 427] => handler: 425 Stackmap Table: append_frame(@65,Object[#94],Object[#172],Object[#96]) full_frame(@213,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Object[#97],Top,Top,Object[#94],Object[#94],Object[#172],Object[#97],Integer},{}) full_frame(@227,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Top,Top,Top,Object[#94],Object[#97],Object[#97],Object[#97],Integer},{}) same_frame(@281) full_frame(@324,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Top,Top,Top,Object[#94],Object[#176],Object[#97],Object[#100],Object[#97],Object[#172]},{Object[#104]}) same_frame(@337) full_frame(@348,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Top,Top,Top,Object[#94],Object[#97],Object[#97],Object[#97],Integer},{}) full_frame(@374,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Integer,Top,Top,Object[#94],Object[#97],Object[#97],Object[#97],Integer},{}) full_frame(@422,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Integer,Object[#97],Top,Object[#94],Object[#94],Object[#172],Object[#97],Integer},{}) full_frame(@425,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Integer,Top,Top,Object[#94],Object[#97],Object[#97],Object[#97],Integer},{Object[#104]}) full_frame(@442,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Integer,Top,Object[#104],Object[#94],Object[#97],Object[#97],Object[#97],Integer},{}) at org.springframework.context.annotation.ConfigurationClassEnhancer.<clinit>(ConfigurationClassEnhancer.java:67) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:372) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanFactory(ConfigurationClassPostProcessor.java:259) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:265) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:126) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.__refresh(AbstractApplicationContext.java:462) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403) ~[spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) ~[spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) [spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797) [catalina.jar:7.0.37] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291) [catalina.jar:7.0.37] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [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] 13:25:11.876 ERROR | | | host-startStop-1 | o.a.c.c.C.[.[.[/] | Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener java.lang.VerifyError: Bad type on operand stack Exception Details: Location: org/springframework/context/annotation/ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;Lorg/springframework/cglib/proxy/MethodProxy;)Ljava/lang/Object; @298: invokestatic Reason: Type 'org/springframework/beans/factory/config/ConfigurableBeanFactory' (current frame, stack[1]) is not assignable to 'java/lang/String' Current Frame: bci: @298 flags: { } locals: { 'org/springframework/context/annotation/ConfigurationClassEnhancer$BeanMethodInterceptor', 'java/lang/Object', 'java/lang/reflect/Method', '[Ljava/lang/Object;', 'org/springframework/cglib/proxy/MethodProxy', 'org/springframework/beans/factory/config/ConfigurableBeanFactory', 'java/lang/String', 'org/springframework/context/annotation/Scope', top, top, top, 'org/springframework/beans/factory/config/ConfigurableBeanFactory', 'org/springframework/cglib/proxy/MethodProxy', 'java/lang/Object', '[Ljava/lang/Object;', null } stack: { 'org/springframework/beans/factory/config/ConfigurableBeanFactory', 'org/springframework/beans/factory/config/ConfigurableBeanFactory' } Bytecode: 0000000: 2a2b b700 043a 052c b800 053a 062c 1206 0000010: b800 07c0 0006 3a07 1907 c600 2719 07b9 0000020: 0008 0100 b200 09a5 001a 1906 b800 0a3a 0000030: 0819 0519 08b9 000b 0200 9900 0719 083a 0000040: 062a 1905 bb00 0c59 b700 0d12 0fb6 0010 0000050: 1906 b600 10b6 0011 3a0e 3a0d 3a0c 0336 0000060: 0f19 0c19 0d19 0eb7 0127 360f 190d 3a0b 0000070: 150f 9900 712a 1905 1906 3a0e 3a0d 3a0c 0000080: 0336 0f19 0c19 0d19 0eb7 0127 360f 190d 0000090: 3a0b 150f 9900 4f19 05bb 000c 59b7 000d 00000a0: 120f b600 1019 06b6 0010 b600 113a 0d3a 00000b0: 0c01 3a0e 1905 190d b801 2d19 0c19 0db9 00000c0: 012e 0200 3a0e 190e 3a08 1908 c100 1499 00000d0: 0006 a700 112a 1908 b600 1519 0519 06b7 00000e0: 0016 b02a 2cb7 0017 9900 7412 182c b600 00000f0: 19b6 001a 9900 25b8 001b 121c 05bd 001d 0000100: 5903 2cb6 001e b600 1f53 5904 2cb6 0020 0000110: 53b8 0021 b900 2202 0019 042b 2d3a 0e3a 0000120: 0d3a 0c01 3a0f 1905 190b b801 2d19 0519 0000130: 0bb8 0132 3a10 190c 190d 190e b600 233a 0000140: 0fa7 0010 3a11 1905 1910 b801 3257 1911 0000150: bf19 0519 10b8 0132 5719 0fb0 1905 1906 0000160: b900 0b02 0036 0815 0899 000d 1905 1906 0000170: 03b9 0024 0300 1905 1906 3a0d 3a0c 013a 0000180: 0e19 0519 0db8 012d 190c 190d b901 2e02 0000190: 003a 0e19 0e3a 0915 0899 000d 1905 1906 00001a0: 04b9 0024 0300 1909 b03a 0a15 0899 000d 00001b0: 1905 1906 04b9 0024 0300 190a bf Exception Handler Table: bci [310, 324] => handler: 324 bci [359, 407] => handler: 425 bci [425, 427] => handler: 425 Stackmap Table: append_frame(@65,Object[#94],Object[#172],Object[#96]) full_frame(@213,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Object[#97],Top,Top,Object[#94],Object[#94],Object[#172],Object[#97],Integer},{}) full_frame(@227,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Top,Top,Top,Object[#94],Object[#97],Object[#97],Object[#97],Integer},{}) same_frame(@281) full_frame(@324,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Top,Top,Top,Object[#94],Object[#176],Object[#97],Object[#100],Object[#97],Object[#172]},{Object[#104]}) same_frame(@337) full_frame(@348,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Top,Top,Top,Object[#94],Object[#97],Object[#97],Object[#97],Integer},{}) full_frame(@374,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Integer,Top,Top,Object[#94],Object[#97],Object[#97],Object[#97],Integer},{}) full_frame(@422,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Integer,Object[#97],Top,Object[#94],Object[#94],Object[#172],Object[#97],Integer},{}) full_frame(@425,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Integer,Top,Top,Object[#94],Object[#97],Object[#97],Object[#97],Integer},{Object[#104]}) full_frame(@442,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Integer,Top,Object[#104],Object[#94],Object[#97],Object[#97],Object[#97],Integer},{}) at org.springframework.context.annotation.ConfigurationClassEnhancer.<clinit>(ConfigurationClassEnhancer.java:67) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:372) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanFactory(ConfigurationClassPostProcessor.java:259) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:265) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:126) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.__refresh(AbstractApplicationContext.java:462) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403) ~[spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) ~[spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) ~[spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797) [catalina.jar:7.0.37] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291) [catalina.jar:7.0.37] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [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] 13:25:11.877 ERROR | | | host-startStop-1 | o.a.c.c.StandardContext | Error listenerStart 13:25:11.889 ERROR | | | host-startStop-1 | o.a.c.c.StandardContext | Context [] startup failed due to previous errors 13:25:11.923 WARN | | | host-startStop-1 | ationConfigWebApplicationContext | Exception thrown from ApplicationListener handling ContextClosedEvent java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events 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.getApplicationEventMulticaster(AbstractApplicationContext.java:344) [spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:331) [spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:869) [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] 13:25:11.925 WARN | | | host-startStop-1 | ationConfigWebApplicationContext | Exception thrown from LifecycleProcessor on context close 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] {code} Log: (note that it crashes when loading the {{command-scanner-context.xml}}, but not before that) {code} Loading XML bean definitions from ServletContext resource [/WEB-INF/shell-context.xml] Loading XML bean definitions from class path resource [META-INF/shell/command-context.xml] Loading XML bean definitions from class path resource [META-INF/shell/ssh-command-context.xml] Loading XML bean definitions from class path resource [META-INF/shell/wrapper-context.xml] Loading XML bean definitions from class path resource [META-INF/shell/command-scanner-context.xml] >> then error {code} On proper startup after the above log should be: {code} org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring {code}
    via by Rudi Wijaya,
  • @Autowired in Applicationcontext filter class
    via by Unknown author,
  • Tomcat 7 many Exceptions
    via Stack Overflow by user902691
    ,
  • Spring Autowired in Controller not working
    via Stack Overflow by Ani
    ,
  • Setup Apache CFX in Eclipse
    via Stack Overflow by Mr ....
    ,
  • Error inside security-config.xml
    via Stack Overflow by Matteo Depasquali
    ,
    • java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events 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.getApplicationEventMulticaster(AbstractApplicationContext.java:344)[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:331)[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:869)[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]

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,
    146 more bugmates