该用户从未签到
|
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
2 o: ^. e; ?* @: u2 D3 `& u x2 |at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420)
! s% a- g6 n3 Zat org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)& V3 e% J/ l4 m+ F2 @& W" e
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
' w6 d* [ y5 p7 ]* t Aat org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143). o( W# P4 n) a
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
2 [6 m( x: } |; o7 Iat org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
! ^0 z9 s$ G' K, b7 y9 Aat org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)( r7 c& o, j' |/ ?
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
. M3 j0 `8 ~9 Oat org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
. B; `; O& i8 T! y* h8 e& Gat org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)
( c' I. |7 H/ a6 Y% O- D9 Wat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)# |# C' [3 [$ `" ]) [
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
6 l! o$ X3 h9 s) \at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199): w5 w* F1 m, \5 m8 l9 ~" z7 {( s' e* v
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)* U2 n6 ^6 I, l8 g
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)4 n8 C+ c8 J$ m( Q. E0 m
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528)
/ H8 i- T" b" F& Sat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)$ J8 [% f8 ?7 V9 \" |6 u7 U
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)( o! i) g) |; [& i
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877), w& a% D7 M/ I
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
# C) V0 W' ?. {at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263)
7 [4 K7 `3 Y* N- Kat org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948)# A. z2 N# j, e, I& L/ }* U
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
9 L, ^" ?% S9 r( Xat java.util.concurrent.FutureTask.run(FutureTask.java:266)
3 [. T0 i4 u0 C2 I9 ^at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
9 h- L$ m: O! ]+ _- j; eat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)* u2 \! @, B9 Q( T: q1 [3 k8 z
at java.lang.Thread.run(Thread.java:745); o( m8 a+ y, X- @9 |
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
{1 r7 _1 }9 o8 Q+ T$ u( i, ]at org.springframework.context.config.ContextNamespaceHandler$1.parse(ContextNamespaceHandler.java:65)
, }" y: j0 Q8 N0 v% w7 Y4 |at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:69)" g& r" T5 B; ~
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1297)
& R' p: ?9 ?8 D$ u' r5 M" m: eat org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1287)9 _# `, @; z( g4 K+ u: M# `
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135)2 K c$ @: p$ R' O
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:92)
; A5 ^0 x" ]3 s6 O/ lat org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:507)
: P, k! u: b1 G& D2 wat org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398)
' H& h/ k1 y3 Z" X... 26 more
9 V4 ` @. e' n Y5 ~( c |
|