Unexpected exception parsing XML document from class path resource

运行报错Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException:Unexpected exception parsing XML document from class path resource [xxx.xml]; nested exception is java.lang.NoClassDefFoundError: org/springframework/aop/TargetSource,是因为使用spring注解装配bean需要导入spring-aop-4.0.0.RELEASE.jar包

jar包下载地址

https://download.csdn.net/download/irainreally/10449183

你可能感兴趣的:(spring)