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
转载于:https://blog.51cto.com/quietboy/1335661