【第21期】观点:人工智能到底用 GPU?还是用 FPGA?

error at ::0 can't find referenced pointcut mymethod

原创 2013年12月05日 20:40:37
Caused by: java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut mymethod
at org.aspectj.weaver.tools.PointcutParser.parsePointcutExpression(PointcutParser.java:315)
at org.springframework.aop.aspectj.AspectJExpressionPointcut.buildPointcutExpression(AspectJExpressionPointcut.java:208)
at org.springframework.aop.aspectj.AspectJExpressionPointcut.buildPointcutExpression(AspectJExpressionPointcut.java:194)
at org.springframework.aop.aspectj.AspectJExpressionPointcut.checkReadyToMatch(AspectJExpressionPointcut.java:183)
at org.springframework.aop.aspectj.AspectJExpressionPointcut.getClassFilter(AspectJExpressionPointcut.java:164)
at org.springframework.aop.support.AopUtils.canApply(AopUtils.java:208)
at org.springframework.aop.support.AopUtils.canApply(AopUtils.java:262)
at org.springframework.aop.support.AopUtils.findAdvisorsThatCanApply(AopUtils.java:294)
at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findAdvisorsThatCanApply(AbstractAdvisorAutoProxyCreator.java:118)
at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findEligibleAdvisors(AbstractAdvisorAutoProxyCreator.java:88)
at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.getAdvicesAndAdvisorsForBean(AbstractAdvisorAutoProxyCreator.java:69)
at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.wrapIfNecessary(AbstractAutoProxyCreator.java:359)
at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization(AbstractAutoProxyCreator.java:322)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:412)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1494)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)

... 33 more



解决办法如下:

       刚开始的时候用的是   aspectjweaver-1.5.3.jar 包 ,出现上面的错误,后来在网上也查了一下说jdk版本和aspectj包不兼容,本人用的是jdk:java version "1.7.0_17"版本的,又下了一个aspectjweaver-1.6.12.jar包,替换1.5版本的aspectj包就可以了


  

版权声明:本文为博主原创文章,未经博主允许不得转载。 举报

相关文章推荐

解决:“java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut myMethod”问题!

Spring版本:2.5.6 AspectJ是Spring自带的lib。 Jdk版本:1.7.0_17 在配置没问题的情况下,报:java.lang.IllegalArgumentExcepti...

error at ::0 can't find referenced pointcut allMethod

今天在编写AOP代码如下: package com.zy.spring; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Pointcut; import org.aspectj.lang.annotation.Before; /*** * 定义切面aspect * * @author Douglas Lau * */ @Aspect public class SecurityHandler { /*** * 定义Point

解决:“java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut myMethod”问题!

spring运行时报java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut myMethod错误...

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

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

Spring error at ::0 can't find referenced pointcut myMethod等异常的解决

刚刚在使用声明方式的AOP编程中,遇到以下两个问题,解决方法如下: (1)error at ::0 formal unbound in pointcut 解决方法:去掉函数通知函数中的参数...
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

(最多只允许输入30个字)