该用户从未签到
|
17#
发表于 2017-02-22 19:46:21
|只看该作者
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
3 C5 }5 ^2 u$ P1 X2 [6 Sorg.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
5 L z6 Y% j+ w2 o& E5 F9 X at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420)
; P1 g9 d" Z( w2 s( a$ O9 | at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
2 N: g. m8 N* {& t3 | k at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)& e0 G" W6 i8 b
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)6 |5 F$ o* C; j
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)" {1 ~2 \/ o4 S; N5 F0 [3 ]( D2 G; F
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
% @$ D" E9 c8 K at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)& A$ ] c* [4 E& n ~* K
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)$ X, x" q* M: o( E' r
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
7 ^+ v; o; u. A) A' k* A! x at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)0 B' S7 {, T8 r
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
/ W7 C6 j" f1 J7 o; ]# q$ ]* w2 r9 Z at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)3 z$ ]$ C: U3 a7 }" Q" U+ e4 X
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)! G# C: Y" h6 Y n1 d* s- J
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
, i' _6 [9 \/ |+ Y at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118); F1 Q+ e M, o3 T: H6 i
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634)
9 L5 k! I/ h2 ~6 l, V at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
' x& F" y+ E% @ at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)
) g2 k9 }4 y3 G* w at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561)
0 S! B7 g) n% x2 b! w at java.util.concurrent.FutureTask.run(Unknown Source)
* X3 P$ U/ C u" @ at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)" S& o3 R, i% k
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)) |! {* E7 |3 i. I8 N$ {
at java.lang.Thread.run(Unknown Source)
1 R0 T& P2 Z2 R J$ pCaused 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* }+ F& o. `. U& F, x N
at org.springframework.context.config.ContextNamespaceHandler$1.parse(ContextNamespaceHandler.java:65)) ]" r; D4 E. p1 j; J
at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:69)
' R/ K" y6 z& a/ [1 j at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1297)( l. l! E% d) a4 Q0 K9 X
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1287)
. W7 Y6 H- ]% l4 U at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135)
1 y, @+ h' J: l* I7 w) `' K. ` at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:92)
2 j! N1 L5 m$ U u at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:507)
3 w3 w- ?" A1 C6 L- ^" O at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398)2 t7 W' ~/ [# d" {' {/ l
... 22 more |
|