今天我尝试着使用spring data jpa来重写dao层,开始一帆风顺,很突然也很诡异的,在我的spring配置文件忽然报错
提示的错误信息是
Error occured processing XML 'tried to access method org.springframework.context.annotation.AnnotationConfigUtils.processCommonDefinitionAnnotations(Lorg/springframework/beans/
factory/annotation/AnnotatedBeanDefinition;)V from class org.springframework.data.repository.config.RepositoryComponentProvider'. See Error Log for more details
出现这个错误以后,服务器可以正常启动,运行dao层的测试也是全线飘绿,完全没有任何错误,数据库操作正常
一切看起还挺好的,可问题是项目旁边的那个大大的红叉真的是看着心烦
有没有人和我遇到了同样的问题?大家都是怎么解决的啊?