Caused by: java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDao' defined in class path resource [applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut myMethod


解决方法:

版本问题。查看你的版本。我的是JDK1.7对应的jar包为aspectjweaver-1.6.6.jar及aspectjrt-1.6.6.jar


参考:http://blog.csdn.net/snowjlz/article/details/8167215


你可能感兴趣的:(Web,aspectjweaver,jdk版本,aspectjrt)