该用户从未签到
|
17#
发表于 2017-02-22 19:46:21
|只看该作者
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener) C8 A; }9 C+ D$ ?
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
0 r4 k) `( X: G- G' A! N# S at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420)& K- Q1 I- @8 ~' `, B3 n
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)2 R; M9 A; |: m) g) i( K% r
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)/ W. [( t1 \. i/ K" w
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
' f6 v2 r. B& z, s at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
' X- E6 x" O9 k* | at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
1 c8 o' M$ i* m/ ~+ U at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)- p: d( K$ s1 Y5 w- i2 i0 M
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)9 X: `( V0 r. N+ Z9 W' z3 L
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)5 Z$ x! \( C- Y
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)2 K. s& Q$ ~$ `. N! y
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)8 ~7 u$ U, M6 g z5 c( R
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)7 e( X; D# P! R B2 P2 i
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
& F5 Q5 u) a9 ~) D i$ S1 M3 m; v at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)7 ^' q. M. Z1 V/ Z7 c
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118)
& C# [1 d4 g: s: P5 Y0 D+ m at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634)
0 K& d% @, b3 I0 R: _3 _% F1 z at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
; F' B& S; z7 ~! S* p6 C' e) H* Y+ I& ? at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)
; K8 u7 B f' f% Q# \) n d0 D at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561)
3 x7 [2 R! \5 T at java.util.concurrent.FutureTask.run(Unknown Source)
1 b. e0 V7 j; f5 U2 { at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)6 n% Z g0 D5 N
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)" b. @0 M, S, m8 A2 e# z
at java.lang.Thread.run(Unknown Source)
4 A' F r% f; k& bCaused 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/ z3 g/ Z M' ? t0 M
at org.springframework.context.config.ContextNamespaceHandler$1.parse(ContextNamespaceHandler.java:65)/ e y/ i0 P3 Y w2 p4 [0 S
at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:69)
3 D& S1 R; ?, d) v3 t- l at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1297)
. ^. C0 D" M6 K" H3 E% m: l( o at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1287)
' |; F: j# l1 x$ c% O at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135)& x& A* S; \3 x* I S3 o
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:92)8 [# G4 K: i2 G9 Q8 x
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:507)3 @ z) y5 `& K0 j( Y
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398) M; Z1 j4 Z) h4 n( \! {+ O
... 22 more |
|