applicationContext-action.xml里有名叫provincesAction的bean么?

解决方案 »

  1.   

    哦  有看见了 是在我例外的一个 Spring 配置文件里面的
      

  2.   

     <aop:pointcut id="allAddMethod" expression="execution(* com.am8.mutual.action..*.*(..))"/>
    这个应该配置在<aop:aspect>外部。
      

  3.   

    换在外部了 还是那些异常 刚才我没配置例外通知(throwingx)的时候 就没出任何异常 配了例外通知 就出了这些异常
      

  4.   

    你是不是开玩笑?你打印execution了
      

  5.   

    Constructor threw exception; nested exception is java.lang.IllegalArgumentException:
    仔细查看切面类中方法上面的pointcut表达式是否书写正确
      

  6.   

    有没有加<dependency>  
           <groupId> org.aspectj</groupId >  
           <artifactId> aspectjweaver</artifactId >  
           <version> 1.6.11</version >  
    </dependency> 
    的依赖 新的aspectj中好像不包含 weaver包