阅读背景:

namespace element 'annotation-config' and its parser class are only available on JDK 1.5 and higher_chenmolan_love的博客

来源:互联网 

最近公司架构正在升级,今天打包后启动Tomcat时发现报错Context namespace element 'annotation-config' and its parser class [org.springframework.context.annotation.AnnotationConfigBeanDefinitionParser] are only available on JDK 1.5 and higher,在排查时发现是因为引用的sping2.5.6会自动检测jdk的版本,但只会检测到1.7,而我们使用的1.8,匹配不到也会报错,可升级架包或修改最近公司架构正在升级,今天打包后启动Tomcat时发现报错Context namespace




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: