[错误信息]
关键错误信息:
警告: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDao' defined in file [E:\study.JavaWeb.1eclipse.Workspace\chapter03\build\classes\com\ZhangWenhan\jdk\UserDaoImpl.class]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut myPoingCut
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDao' defined in file [E:\study.JavaWeb.1eclipse.Workspace\chapter03\build\classes\com\ZhangWenhan\jdk\UserDaoImpl.class]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut myPoingCut
[解决办法]
找不到mypointingCut?PoingCut?应该是我写错了。
在文件里面找一找那个位置写的是"myPoingCut",改过来就行啦。
如图。