严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener: d- h: x: T; V }+ D+ D
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 & s' c3 p: F8 T R$ |1 n! F$ v! Q at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420) % M4 K: [9 }* s" C+ \ W, { at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342) , Y* V& Q% c! P6 J7 u3 l at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)( d6 w( @8 u0 B4 L \1 a
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143); @2 p7 A0 Z; w
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178) : C' {3 C9 ]: }2 s4 E at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149): e1 G3 C! }4 `
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)$ j+ V* s% g: }5 y8 I$ N
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)8 a- B4 y7 j/ c1 ]* d
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123) # ]' _* ^% x% H, c8 j at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)( U; u$ v$ x2 D4 t# }; ]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352) - N; g! B, `, n7 u, g at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255) " i. d: r/ l9 G( u3 [ at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199) ! I) ^1 L) I( x at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45). P5 G+ Y$ E- ]* W) U% @% Q7 j( f
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118) 3 e( f, L2 Z( D3 g0 J3 p2 q at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634)$ h8 o5 K% `- a8 c
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) , p, E" X5 t; g at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571). a4 V% X; Z7 b; ]9 ]
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561) ) s. }5 v6 I% V7 ^% G' v at java.util.concurrent.FutureTask.run(Unknown Source) m9 G1 @5 ~/ M
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)8 m; b1 z; D& Y" v( n$ P
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) . x9 V8 v2 N$ h6 w) I$ e5 ] at java.lang.Thread.run(Unknown Source) 8 B' _+ S ?9 JCaused 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 ' d9 F; e$ ], p% }6 U! _ at org.springframework.context.config.ContextNamespaceHandler$1.parse(ContextNamespaceHandler.java:65)+ ?! E5 y1 I5 y6 m+ P/ y5 G2 V1 a
at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:69); y5 j! i2 O' O& |. i
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1297) 1 j8 k% F6 O/ M' n% L. J at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1287) % @7 }- _- D+ \$ e/ N! s+ Q at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135) 5 B+ g3 |$ @, u: [ at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:92) " f7 F3 [8 Y2 o* X. E8 u at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:507) # C8 o$ S3 \! _; `) w at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398)* \0 T* J: w/ k3 l% b: u
... 22 more