运行报错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包下载地址