• [编程新手]Spring程序运行出错-基于注解的声明式Aspectj(aop,can't find referenced......)


    [错误信息]

    关键错误信息:

    警告: 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.Workspacechapter03uildclassescomhangWenhanjdkUserDaoImpl.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.Workspacechapter03uildclassescomhangWenhanjdkUserDaoImpl.class]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut myPoingCut

    [解决办法]

    找不到mypointingCut?PoingCut?应该是我写错了。

    在文件里面找一找那个位置写的是"myPoingCut",改过来就行啦。

    如图。

  • 相关阅读:
    c# 线程同步各类锁
    C#_从DataTable中检索信息
    永无BUG
    标志枚举
    将多行按分隔符"|"合成一行
    回车换行浅析
    url传输编码
    xshell 禁用铃声 提示音
    php 编译安装 mysql.so
    301 302 304
  • 原文地址:https://www.cnblogs.com/JuniorProgramer/p/12684239.html
Copyright © 2020-2023  润新知