该用户从未签到
|
17#
发表于 2017-02-22 19:46:21
|只看该作者
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
- x8 M. H" _% h( `! v+ ]6 Gorg.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
& o5 _! [" l, v9 ~ at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420)
. R7 W8 r% r; s( F& ?- K0 W at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
3 E0 D$ [% b$ V" `; M at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
0 t; h' Z/ q' O7 {+ C, {6 ?: T at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)' A+ p; P' O: R2 N/ q
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)6 I! `& @5 N3 v2 y) f2 M& @
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)' ]0 ~4 I w6 ]: u. h4 e" ]
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124): D. x' k" v% g* J1 ?
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
: S1 @7 b2 ]+ T at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)! W7 ^! C4 s6 b2 j/ {
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)
* q$ E5 p; [. `4 ^* B at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
9 C$ a# ? s' y" S at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
" m: n4 j" P& {3 c; V* q% t at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)$ i3 N2 s; Z$ y+ w9 E
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
" S" J, W6 d' O: U' ^( \- f at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118), X6 e: y+ K, i) h( ]
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634)
0 L% r1 v2 U0 Z at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
+ [4 m9 U$ ~+ W. s1 q at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)) j6 I+ c" n2 i! I- R" E
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561)
8 { V1 I5 {: p A, s at java.util.concurrent.FutureTask.run(Unknown Source)
2 k7 c9 ?) p: K: s at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)) }- L6 W8 j7 B1 m6 R
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)$ X, R- g: R! k) ]6 n8 p0 X
at java.lang.Thread.run(Unknown Source)# |9 t" N- d4 t
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 higher9 P) o/ P0 q6 ^# j
at org.springframework.context.config.ContextNamespaceHandler$1.parse(ContextNamespaceHandler.java:65)+ q( s. W) Y0 ]5 ~( R+ A
at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:69)! v$ J! d3 R9 E
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1297)" S1 v5 |7 a8 z1 ?
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1287)
& d+ i5 n* ~9 Y x at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135)
1 J4 Z8 M& @1 i7 R- q; ` at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:92): z# ^6 }! n A. b
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:507)# T- x9 p1 z7 m$ W: h6 ]% R: H
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398)
1 {2 |2 [9 j$ E* V* [8 T ... 22 more |
|