org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moocAspect' defined in class path resource [spring-aop.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.aspectj.AspectJPointcutAdvisor#0': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.aop.aspectj.AspectJPointcutAdvisor]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException: Pointcut is not well-formed: expecting ')' at character position 11excution(* com.imooc.my.AspectBiz.*(..))
5 回答
qq_愿有智慧_03738976
TA贡献2条经验 获得超0个赞
使用<aop:before method="before" pointcut-ref="moocPointcut" />报错!注释了就不报错
添加回答
举报
0/150
提交
取消