该用户从未签到
|
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
8 C1 r% X# k5 ?9 eat org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420): J! j' B D3 g, a9 q
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
$ g/ t9 D3 {/ `at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)) h: N8 O" x: Z% O0 X$ O
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143), \4 y$ f- G a+ t0 W8 g2 b
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
6 ^1 |- N7 I; d5 i$ D9 U" ~at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
5 ?5 Z8 s9 V; ]' h; C& Wat org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)# c. [: ~; G7 w& Y9 b- `
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92); T5 i0 r, o! H/ k! B1 t( E5 d
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)% v, v$ b: z. ?4 R: m
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)* M, ?0 t" R8 D' B8 [! k! L
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
9 h, v; n( \2 O4 R# D( s& g- nat org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
' F4 F1 F9 g. E4 T$ q4 D3 K" aat org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
/ p; B# F- k( @: pat org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)8 q$ Y6 z& y+ Q7 e, k4 }3 C# Z
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)
: t9 @( K; Y; }- d2 jat org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528)
: U9 a. q8 V; l* \ Fat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
5 b7 G! X( Z. X+ e! y. V% |0 Bat org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
2 L% }) m. l) Bat org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)7 U6 q4 i& I: |: ?2 P0 F
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
5 E! V2 l5 E" \at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263)
: P y1 y7 t1 `2 }at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948)2 F* B& @$ ?: W% _9 t7 S
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
) j# }, `! ^9 e' G6 f! D- Iat java.util.concurrent.FutureTask.run(FutureTask.java:266)9 u$ O# x H- W4 W9 {, I
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)* u1 w9 z6 i" a; T) h
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)' l$ ]1 O) _) \6 Q/ _6 O
at java.lang.Thread.run(Thread.java:745)9 W) S/ D8 U/ B9 o( i% ^
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
# g. k ] G' Y# Jat org.springframework.context.config.ContextNamespaceHandler$1.parse(ContextNamespaceHandler.java:65)
1 d* C# ~* x8 F( u; M7 [1 cat org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:69)
/ `6 F0 q% S5 q* Pat org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1297)
9 C! @/ n7 ?6 w7 Iat org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1287)
+ M5 E& e, \: E, P J+ {, b* fat org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135)
2 I$ ?( X, E V( O! l6 Dat org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:92)
* b2 ~7 n. A; J. ^1 S9 c$ U: \at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:507)
. p) i& @) q0 S/ l& p# _! W; rat org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398)
3 ~5 t. w1 o2 f1 h( q... 26 more
1 N' Y% `& X8 [8 N: M. t3 H7 o |
|