Context namespace element 'annotation-config' and its parser class [org.springframework.context.annotation.AnnotationConfigBeanDefinitionParser] are only available on JDK 1.5 and higher解决!

描述:今天想学习下aop,之前的配置内容可以正常启动,加了aop居然报错了!!而且是annotation-config这个错误,真是莫名其妙,,,翻了下百度,好像解决的比较复杂或者比较笼统,可能遇到的问题不是一模一样,,不好说..楼主第一反应肯定是依赖出了问题
先贴出来一张正常前没有aop的文件图片,正常启动
Context namespace element 'annotation-config' and its parser class [org.springframework.context.annotation.AnnotationConfigBeanDefinitionParser] are only available on JDK 1.5 and higher
加了aop之后,这边一定要注意spring-aop-3.2.xsd的版本,指定版本号
Context namespace element 'annotation-config' and its parser class [org.springframework.context.annotation.AnnotationConfigBeanDefinitionParser] are only available on JDK 1.5 and higher

相关文章:

  • 2021-04-11
  • 2021-07-31
  • 2022-12-23
  • 2022-12-23
  • 2021-07-29
  • 2022-12-23
  • 2018-12-24
  • 2021-11-11
猜你喜欢
  • 2021-12-21
  • 2022-12-23
  • 2022-12-23
  • 2022-01-31
  • 2021-08-31
  • 2022-12-23
相关资源
相似解决方案