该用户从未签到
|
17#
发表于 2017-02-22 19:46:21
|只看该作者
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener. v# a4 i4 t6 U0 P
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 ` g- N' x4 ]. S at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420)" j+ k% J9 s' q* K% O
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)7 J) ]; f8 e9 w* [* L
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
+ B! q3 l3 F) g* q8 I" x at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143): g! l) V' B6 q
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
! o! k" R6 r9 { at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
: O& a5 ~% z1 v' p( R5 x! ` at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
, B% f1 w; } s, a3 J0 ]. J at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)+ N5 V0 h& d8 b( _- C
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
! M$ l% T; h4 m1 @ at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)) B( e* X; E/ \& I3 ?( W
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)% c8 W9 ?3 e0 u( d; ~ e# p
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
7 b. F. {2 V& t; H at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199), \" y7 p, ^8 o
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)7 i+ Y0 a/ l( @% y |/ D
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118)
# u$ F; b+ P# W0 P" w9 |* e2 K- c at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634)
) q: C' W1 u8 F: \ at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)' g( w2 b( A; O9 R' J \
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)5 E8 n! ^% J$ x* Y n+ t
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561)
8 p; d2 Z! V% S at java.util.concurrent.FutureTask.run(Unknown Source)
! e! y5 w, L) k/ h3 J at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source): i5 y2 y/ U9 g5 j! O/ o/ v
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
9 t [& X( T$ }( p/ N5 B. {& P& K at java.lang.Thread.run(Unknown Source)
. l- J+ V6 Z; b/ [; r/ _4 [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
$ Z/ J1 N% o+ H6 R- U! `2 O at org.springframework.context.config.ContextNamespaceHandler$1.parse(ContextNamespaceHandler.java:65)4 y- W$ K/ L# k0 n4 \
at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:69)" F- f5 u7 ~% b) D
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1297)$ l0 \8 U4 E4 h0 s) h
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1287)8 {8 |2 y/ O, P
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135)
3 R* p! [' a, G& T" D3 K at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:92). N3 t1 x# [" G0 O8 z2 }. M
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:507): ~& E$ g# e! z0 }
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398)# P7 u. k5 M7 r3 r
... 22 more |
|