我是靠谱客的博主 落后钢笔,这篇文章主要介绍spring2.5.6的‘annotation-config’ and its parser class are only available on JDK 1.5 and higher错误解决,现在分享给大家,希望可以做个参考。


最近在学习马士兵的spring教程,视频教程中的项目中用的是spring低版本(2.5.6),今天用jre 8测试了一下,发现错误: 

Unexpected exception parsing XML document from class path resource [applicationContext-dao.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

最后

以上就是落后钢笔最近收集整理的关于spring2.5.6的‘annotation-config’ and its parser class are only available on JDK 1.5 and higher错误解决的全部内容,更多相关spring2.5.6的‘annotation-config’内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(42)

评论列表共有 0 条评论

立即
投稿
返回
顶部