严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener 4 ~4 u, d# P6 w2 V+ t; T$ Horg.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 higher5 t) j7 P. V, @* X% k- ?7 u
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420) 8 [9 X% @1 U: X at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342) : c0 ]& s9 |$ q6 e8 [ at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)4 w; v& [. z- @2 }6 B
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143) 6 G- j' B: a& D' t o$ { at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)4 w5 A* D. \8 B! y4 O* Q$ o
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)2 [$ H2 x P3 R: c
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124) 8 @1 `' M) H! R3 z at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)0 y1 M* q! b! O; {
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)2 h7 B& b4 f! `$ a
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422) 3 D5 _' q6 Z; _% k N8 K H6 C at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)5 W/ l i3 r- t2 p
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255) 3 R: S% l; F- U# s" u at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)' v, e4 x4 k! j9 q: a, X4 u
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) 5 d6 o* i- r3 Z ], B* E: R* m at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118)# D5 B& E W6 H( M# b
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634)9 E0 ] e5 N1 s* x
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) ! P7 S' A! G" c. D2 x5 G at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)1 K% L5 t5 z8 P7 A7 W! |( v3 [
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561) # M |7 }5 w& [* B& v0 B/ ]5 W at java.util.concurrent.FutureTask.run(Unknown Source) 4 a: E) K6 S( x1 @ f at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 8 d2 t/ m" s: [3 u, [+ ^: i at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ! `8 x2 O1 N% ?. p+ M H at java.lang.Thread.run(Unknown Source)8 Y% X& Z0 N0 b- M+ S
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 $ ?4 J' K5 o, G6 N) x8 `, `1 a at org.springframework.context.config.ContextNamespaceHandler$1.parse(ContextNamespaceHandler.java:65) - f* A; ~2 ]9 h+ j8 X! U at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:69) ' a+ H( S8 P! `2 N+ A at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1297) B+ ]: V% u+ P. D at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1287) 0 ^! [# y0 [$ n- \$ M; D at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135)1 ~' I/ n3 i9 ~9 D
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:92) 0 G& L% z$ ^: }5 d; w! T at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:507) 5 f: Y- y w/ a" X/ B at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398)4 R4 u N- j6 S) m# e3 P
... 22 more