该用户从未签到
|
17#
发表于 2017-02-22 19:46:21
|只看该作者
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
3 z' O6 i: D. b: 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* \# q+ ~6 R* v0 K& |6 i$ H
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420)
( t6 B- g. Z, P' B/ l+ k( t at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)% e/ P: \, @* S# Q
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
R1 h$ m! Y3 I& t8 m) q at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143). W( A+ U& w9 e$ I3 f% X7 v
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)- K" l5 o1 N' ]( H0 X
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149): J) N8 O f5 Z: Q
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)/ Y& ]5 b/ f- ]: I) m; {
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)3 Z0 ]9 ~! `8 E- u' H
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
& b5 G$ }) F3 |$ P T2 S9 ^ at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)6 k, W a. R0 I9 N# E% F
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)# h' D% ~* X' d
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
9 l2 w5 u' o$ w# M* ^4 e% g at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199), y' m( D/ z, i2 j* W" \, X
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
( e: e' V3 F2 J at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118)
" N9 t# Y+ X7 Q at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634)- z- W J/ m W3 R0 `" \4 {
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
4 a, Q: S0 P% [' E3 H3 f at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)
1 }+ D. e) r) E8 y2 E+ e4 Z at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561)
9 M0 `* k( E4 Q/ S3 O! D at java.util.concurrent.FutureTask.run(Unknown Source)
7 E& k0 j# S6 b& d* W: J at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
) L8 t+ E. N9 c% i5 c at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
! N7 u/ s6 L0 q$ {0 Q% Z at java.lang.Thread.run(Unknown Source)/ ^: P* k5 t Z4 T5 `1 P
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
5 i( I, n8 x# t# I3 ~! { at org.springframework.context.config.ContextNamespaceHandler$1.parse(ContextNamespaceHandler.java:65)
* F; N9 y% K" m5 I4 z at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:69)
! ^) q: Q; P! F- |5 R at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1297)# @0 k; r: ^1 B, G+ f
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1287)( V0 k& m- ?+ F2 g9 n7 s: g
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135)
! O4 @4 J( k4 g! ]! o/ T: m4 R' B at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:92)
/ ?6 w1 q% _% s; T/ ? at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:507)" A) x* e( e5 p! d
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398)
5 `# y P; Y- F: P ... 22 more |
|