异常不能解决 ,求助!!

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 11
excution(* com.imooc.my.AspectBiz.*(..))

qq_愿有智慧_03738976
浏览 7175回答 5
5回答

星际怪物

这不告诉你了吗,excution(* com.imooc.my.AspectBiz.*(..)) 切入点正则表达式有误

梵天001

亲,是由于你缺了aspectj.jar包哦。

驮着阳光的希望

因为没有jar包解析execute里面的表达式所以报错误

qq_愿有智慧_03738976

使用<aop:before method="before" pointcut-ref="moocPointcut" />报错!注释了就不报错

大咪

<p dir="ltr">.AspectJPointcutAdvisor#0&#039;:这个是你自己创建的类吗,代码上来看看</p>
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Java