该用户从未签到
|
17#
发表于 2017-02-22 19:46:21
|只看该作者
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener( Y( Y* N) w2 Y
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 higher8 A3 [9 Q! \5 X- U8 v7 Y
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420) k( L/ c4 e. r( K
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)0 y( Z, V$ N3 | v1 u3 c/ p+ \/ B
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
! \$ b1 q3 A# @, g. O r% v6 L at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
! ^5 ]2 g/ f0 t; v, a at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
. x: j* Q6 F: k2 m! @ at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
+ l7 ~; B( ?0 [( ~ at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
$ E9 [6 q3 V( k, }5 R& f at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
6 S, r' x* Y P8 [5 o; V5 }0 {+ @& S at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)) [/ q! x0 W; k6 t4 N
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)
; @6 v9 J/ `; p; W at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352) v( S) v8 G2 v+ w6 }, K
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
- ?0 q2 B/ v/ h at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)! z+ U$ o* i' n+ z5 @8 g. L
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
$ l3 U+ M5 f/ Q$ \9 p9 t at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118)
8 i* X% X5 X! f- T# V, O at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634)8 h: `% l9 g7 R$ w0 M
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
/ h& w/ }) o0 h3 C9 O at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)) _4 B3 ~- J$ [+ \
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561)
6 A& A) u& G! v* T7 V at java.util.concurrent.FutureTask.run(Unknown Source)
" Q6 K/ w/ L2 T* y at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
$ M0 E, K* V1 j at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)# y7 z: t# {/ h! G' v0 |1 Q+ l
at java.lang.Thread.run(Unknown Source)
9 w$ v; ^% E7 O- qCaused 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- l* Y; {9 S! V' Z
at org.springframework.context.config.ContextNamespaceHandler$1.parse(ContextNamespaceHandler.java:65)
1 T' o0 d) d+ _* c0 O" q! x at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:69)8 j c; P0 _ A0 \$ l D8 @
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1297)" y/ z K+ m$ e' {8 z$ C0 |
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1287)
4 h( N# ?/ [! `$ ? at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135), Z7 N# k( \, ]' M) W4 T8 d+ a
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:92)
8 [& ?) e% p4 i2 A1 R. k# R" ? at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:507); ^9 }" o1 ~/ J" \5 t
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398)
; Y9 w& a: r0 a, T! `! k* f3 S ... 22 more |
|