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 1 a3 D2 S8 T) _# iat org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420) 5 D- w Q: g8 u& ?2 eat org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)/ h6 F) U: e4 v4 R& N. h% D, O- q# D* v
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)( f$ T! u3 H9 N4 q
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)) ]; g8 a' M7 r, y
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)& C' J" z- \& q- o; w+ d$ x
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149) 9 X8 d/ ~: W* r( [: T6 lat org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124), y; }; p7 b* c' H2 ]# C. ?
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92) ( G! O% t! {5 z! J# Jat org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123) 0 [6 R' n( Q9 ?9 tat org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)6 O! K4 ~1 [' w% }0 \% j
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352) 0 ^% o2 Y* w' j7 e5 t8 x" mat org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)) a; `! t7 z. G
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199) , n. V# e$ a# b+ Fat org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)( f" ?' x' o3 q+ [( W0 w2 k
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016) : i4 ]3 n. C+ A; U; vat org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528) 8 Z' F* I' i/ w* X1 I* E: k; ?at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) & V- r* _/ U3 H. k+ m+ S+ N& Iat org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)/ }# i7 P: H- d$ E! w
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)6 e5 t* ]+ x' t
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652); p% g- Q3 A: s2 z6 U
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263) 6 n& X# n; E! y, O& z' Rat org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948)) P4 x, N; S1 h; ]4 E; v/ G
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511). Y$ l# _' _: V2 O7 c, D; F& Q
at java.util.concurrent.FutureTask.run(FutureTask.java:266)5 Z* t4 g; i0 l: ?) K5 r f( ^$ v# C) N
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 2 @1 x4 N% b2 Rat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 4 [% c, v4 W4 J' O2 eat java.lang.Thread.run(Thread.java:745)& Q, h! n' {* U5 x
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 : C) P6 m/ n7 H. Tat org.springframework.context.config.ContextNamespaceHandler$1.parse(ContextNamespaceHandler.java:65)! l( F) _$ L' i; Q' a7 R
at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:69) $ D, n5 W5 N& m: fat org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1297)6 S1 r8 N0 }: ^( |8 G- x' n
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1287) & h' _7 n5 G; E4 @2 |7 Pat org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135)% r$ w' s; q) M
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:92)) c* ^# ~, g5 p4 R
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:507)( t" R4 y1 ?- z1 C0 ?
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398) & F: U( L; f K: k1 c. p... 26 more& g8 ]+ |6 E4 [