AnnotationConfigBeanDefinitionParser are only available on JDK 1.5 and higher

来源:互联网 发布:淘宝直播怎么介绍自己 编辑:程序博客网 时间:2024/05/01 22:20
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,大意是说SPRING的注解配置解析器只能在JDK1.5或更高版本使用。或者更换tomcat的版本(一般是tomcat8.0)
0 0
原创粉丝点击