Java入门到精通——调错篇之Spring2.5利用aspect实现AOP时报错: error at ::0 can't find referenced pointcut XXX
来源:互联网 发布:windows如何快捷锁屏 编辑:程序博客网 时间:2024/06/03 01:22
一、问题描述及原因。
二、解决办法。
利用Aspect注解实现AOP的时候出现了error at ::0 can't find referenced pointcut XXX。一看我以为注解写错了,结果通过查询相关资料是因为Spring2.5与中的aspectjweaver.jar 和aspectjrt.jar这两个jar包与JDK1.7不匹配。
二、解决办法。
三、总结。将aspectjweaver.jar 和aspectjrt.jar这两个jar包的版本升级一下用aspectjweaver-1.7.0 和aspectjrt-1.7.2这两个版本的jar包就可以运行成功.
<<jar包下载>>
在我们开发中我们得注意jdk与各个jar包版本是否匹配有些时候虽然JDK升级了但是我们所要用的jar并没有适配到更高版本的jdk这时候我们就要降级JDK或者用其他已经适配了最新JDK的jar包。
1 0
- Java入门到精通——调错篇之Spring2.5利用aspect实现AOP时报错: error at ::0 can't find referenced pointcut XXX 分类: Java从
- Java入门到精通——调错篇之Spring2.5利用aspect实现AOP时报错: error at ::0 can't find referenced pointcut XXX
- Java入门到精通——调错篇之Spring2.5利用aspect实现AOP时报错: error at ::0 can't find referenced pointcut XXX
- SpringAop实现前置方法,遇到error at ::0 can't find referenced pointcut以及无法找到元素aop:aspect-autoproxy
- aop:error at ::0 can't find referenced pointcut解决办法
- 【Spring实战】—— 12 AspectJ报错:error at ::0 can't find referenced pointcut XXX
- 【Spring实战】—— 12 AspectJ报错:error at ::0 can't find referenced pointcut XXX
- Aspect报错: can't find referenced pointcut xxx
- Spring AspectJ报错:error at ::0 can't find referenced pointcut XXX
- 关于注解实现Aop出现 Spring error at ::0 can't find referenced pointcut myMethod的解决
- Spring AOP : error at ::0 can't find referenced pointcut actionMethod
- Spring AOP 异常:IllegalArgumentException: error at ::0 can't find referenced pointcut
- spring aop 学习小插曲 IllegalArgumentException: error at ::0 can't find referenced pointcut xx
- Spring Aop包版本不对应IllegalArgumentException: error at ::0 can't find referenced pointcut point_cut
- error at ::0 can't find referenced pointcut...解决方法
- error at ::0 can't find referenced pointcut mymethod
- error at ::0 can't find referenced pointcut..
- error at ::0 can't find referenced pointcut allAddMet解决方案
- Unity3D——百度地图SDK接入(经验)
- ubuntu
- poj_1026 Cipher(置换群)
- PAT A1029
- Unity3D导入NuGet的Newtonsoft.Json并进行相关操作
- Java入门到精通——调错篇之Spring2.5利用aspect实现AOP时报错: error at ::0 can't find referenced pointcut XXX
- hduoj 1083 二分图的匹配,匈牙利算法
- VS2013下socket新函数代替旧函数引起的编译错误
- 设置背景选择器和button按钮的下划线
- 哈理工oj618 Mod(二分查找)
- PAT A1031
- C语言通过指针引用数组
- POJ 3484 Showstopper 已翻译
- poj 2503_Babelfish_map