你的位置:首页 > Java教程

[Java教程]springSide部署出现AnnotationConfigUtils.processCommonDefinitionAnnotations(…) is not public!


AnnotationConfigUtils.processCommonDefinitionAnnotations(…) is not public! Make sure you're using Spring 3.2.5 or better. The class was loaded from file:/D:/System/
MyEclipsePro2014/plugins/org.springframework.context_4.0.0.20130522-M1.jar.:
org.springframework.context.annotation.AnnotationConfigUtils.processCommonDefinitionAnnotations(org.springframework.beans.factory.annotation.AnnotatedBeanDefinition)

解决方案:

1./D:/System/
MyEclipsePro2014/plugins/org.springframework.context_4.0.0.20130522-M1.jar,找到该jar删除。

2.点击项目右键Maven4Myeclipse-》》Update Maven Project