org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [beans.xml]; nested exception is java.lang.IllegalStateException: Context namespace element 'annotation-config' and its parser class [org.springframework.context.annotation.AnnotationConfigBeanDefinitionParser] are only available on JDK 1.5 and higher % q+ H6 }) _1 b6 i7 {$ e; pat org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420)/ ?0 G4 U/ ^6 m# v2 i
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342) 4 C$ p! \) Y. @at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)! I4 o% h5 H7 P* J+ {4 H; t
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)4 q, `& Y8 s1 Z4 q: {5 R
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)/ S% Y5 A, v8 V# d! s
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)( p. b$ g9 ~- Y
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)* y5 Z ~: W& t' A- [1 Z
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92) * }2 U" N$ i/ Xat org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)* \% G: a, h+ |0 A) h: N
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)! E5 a4 E% ~/ p E
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)& a% o6 F' F0 j+ c$ d
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)& z2 @' I+ ?% i+ j
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)% V" N* z: g% _+ E% \
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)/ ]; B4 Y* D" I5 r2 y9 J
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016) . `% ?- g0 p8 W0 A9 z& Z* n* p& c- Bat org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528)0 d5 G+ d' u0 K: w( `) ?
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)2 B; S; q8 H0 ^. b" e
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901); _8 n& s: l4 w* h
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)& m% |0 @, I% q5 p7 d2 a: \8 Y
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)1 e4 d3 r$ a; v" Q+ }
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263) 8 T' k- j8 L0 U( B ^at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948) 6 z8 q& l4 l+ \% }3 Sat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) : @: f) |5 Y4 |3 o, m- Xat java.util.concurrent.FutureTask.run(FutureTask.java:266)9 o5 N/ u L3 f
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ; ^3 R/ A, \2 q& V, n7 K xat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)! _6 I" M! z. h- l
at java.lang.Thread.run(Thread.java:745)* y1 t2 V8 ]* r+ j
Caused by: java.lang.IllegalStateException: Context namespace element 'annotation-config' and its parser class [org.springframework.context.annotation.AnnotationConfigBeanDefinitionParser] are only available on JDK 1.5 and higher . b( ]; i! ~4 g3 yat org.springframework.context.config.ContextNamespaceHandler$1.parse(ContextNamespaceHandler.java:65) 9 C( @6 d& I$ T; U- dat org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:69) 5 `0 q8 E, h+ @at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1297)7 b3 |- [+ E( o0 V1 O; ], \
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1287)9 e% k) K5 H& c( O- \7 C9 d+ b
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135)7 z0 q& A1 B- e1 ?
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:92)0 O- m6 y+ p) z2 C
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:507) & m' L1 m+ v: p6 b2 G! @8 Xat org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398) & y3 L; b# u5 p$ i5 N! I# K. J... 26 more $ q% d3 F s2 o3 u" B