|
该用户从未签到
|
17#
发表于 2017-02-22 19:46:21
|只看该作者
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
1 d1 l2 w" V- ~7 Q1 forg.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 D0 A0 ^* l3 h9 v y' \! v
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420)7 G" k% V/ } O* x* z
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)- H! H% l+ |: P3 B) O
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
5 k+ n/ P6 Q: e: k4 J3 X, M at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)$ f6 @! B: h, v4 T. m' n
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)0 E$ g, Q3 K" j0 c" y4 W
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
, ]) k7 D; W/ {7 ~& A8 \( r at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124); S' A! A k( P! u
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)3 e7 j9 C3 x' d5 i- ~% \
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
9 E4 A8 t( `& n6 B( F at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)
1 b8 F8 b0 A6 g, v, T* r at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
' e5 k- O# Q* ~; J9 R2 U at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)5 q# e* l1 s$ u- ?6 v
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)/ _) L% j2 h. N. H
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
& F' O+ V4 p* ?1 ` at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118)
4 E9 z H+ w5 d8 X ~ at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634)
$ \* G P2 t8 W' s$ \& u6 y7 ] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
, @: U: n' d: K) t0 Q W at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)
& b3 R2 M9 D$ R* |! F) B3 I% s at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561)9 d+ S- x3 a2 W
at java.util.concurrent.FutureTask.run(Unknown Source)
2 A0 X; [, G1 t3 x at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
: R" e. E; |& ~$ i% _ at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)' K( j% e u8 e
at java.lang.Thread.run(Unknown Source)& F7 h- D( w9 S L
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
# k( r5 T& l' R N' X; J0 B% R8 O at org.springframework.context.config.ContextNamespaceHandler$1.parse(ContextNamespaceHandler.java:65)$ h1 Q. m/ T5 M& Q2 v, e/ N& E
at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:69): R }- I1 A- F" B2 b' u
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1297)
: W0 c7 H3 f" n at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1287)7 _0 x' |# g, ^3 |0 D2 }( K! ?
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135)
" P5 U1 r9 B Z+ R at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:92)
( e5 t1 P9 M( L1 V" Y) I at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:507)
" j- y" Y0 R# W: E7 i at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398)
5 l* Z6 S9 }. e6 R ... 22 more |
|