码迷,mamicode.com
首页 > Web开发 > 详细

AspectJ 出现错误::0 can't find referenced pointcut 的解决之道

时间:2016-04-24 17:12:01      阅读:346      评论:0      收藏:0      [点我收藏+]

标签:

使用AspectJ注解开发AOP应用时,会遇到以下问题:
::0 can‘t find referenced pointcut
这个问题,与你所在的开发环境有关,如下表

jdk version spring version aspectjrt version and aspectjweaver version
1.6 3.0 + aspectjrt-1.6.2  and aspectjweaver-1.6.2
1.7 3.0 + aspectjrt-1.7.3 and aspectjweaver-1.7.3

当环境为:

jdk 1.7, spring version is 3.0+, 如果使用aspectjrt-1.6.2 and aspectjweaver-1.6.2这个版本,就会出现上述错误,将aspectj and aspectjweaver 版本改为1.7.3 or more,问题得到解决。

AspectJ 出现错误::0 can't find referenced pointcut 的解决之道

标签:

原文地址:http://www.cnblogs.com/winner-0715/p/5427278.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!