重点报错是这一句:nested exception is java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut aa
无法找到切入点的引用,具体错误如下:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personDaoImpl' defined in file [E:\fusion\intellij_work\HelloWorld\out\production\HelloWorld\com\lxk\spring\aop\annotation\PersonDaoImpl.class]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut aa

错误原因:发现是JDK不匹配
我刚刚用的两个jar包估计是1.6的,但是我的jdk是1.7的,那么就不匹配了,在网上找到对应的jar包,替换了问题就解决了。

报错图如下:






评论关闭
IT序号网

微信公众号号:IT虾米 (左侧二维码扫一扫)欢迎添加!