该用户从未签到
|
17#
发表于 2017-02-22 19:46:21
|只看该作者
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener& w- i1 g7 j E
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 higher
( U8 M' _# M0 w at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420)+ f! g& {2 |5 @7 u6 c9 H0 m
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)9 L% N& T" D$ [& M8 B) W0 J
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)! d3 k6 s( B9 f8 x
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
8 T2 A) M. C1 ]) `+ x" g! q at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)( F. w2 H' ^8 X* g
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)$ ? ]) m/ H' o6 \
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
1 b2 r& h' \% u4 F+ _ at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
9 W' o: e" U5 w at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
0 Z- }1 I2 d2 P: f- y at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)
! v% e) I8 ]& X! A+ _, z at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
8 ?2 T, x% ]) b) m0 L at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)+ P t2 c' e, A Y$ ^! o
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)+ o" C7 k3 f6 q9 D$ X
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
7 F0 t/ P9 a& q& c" [+ F; P at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118)" S% @& G% b! Z& T2 q
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634)3 H/ Z) j/ A7 p2 x* d1 g
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
9 ^# v# I4 G, `* M% e at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)3 [: X/ O: n3 r
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561)
: ?" ]0 U% Z* k4 U1 V9 B at java.util.concurrent.FutureTask.run(Unknown Source)( s' ]8 J. T' E2 d
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source): j8 F5 |# L7 J- W
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
" i( |/ O6 Q' a; e, c; w p) q at java.lang.Thread.run(Unknown Source): ~1 |' z* B3 y0 \3 k, S
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
; q" `) P8 u+ [1 ^* a' b& i at org.springframework.context.config.ContextNamespaceHandler$1.parse(ContextNamespaceHandler.java:65)! |$ T( }) {7 O. _3 L4 I, \$ b
at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:69)/ Z L* `4 k# B
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1297)
' L9 e3 G/ H6 P2 l' X0 Q at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1287): ?3 C- i6 f% V9 b1 K6 T# p
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135)8 v, P7 I: S& M' h6 e
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:92)
# ]0 R" r/ s1 l! z- V: Q u at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:507)
* \. |6 Q: r; h0 `: p at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398)
" [/ ~# Y% [& f. u4 ^ ... 22 more |
|