org.springframework.beans.factory.BeanCreationException——Joinpoint的导包错误

org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'someService' 
defined in class path resource [com/aspectj/annotation/applicationContext.xml]: 
Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: error at :
:0 formal unbound in pointcut 

导入joinpoint包错误导致。
更正为:

import org.aspectj.lang.JoinPoint;

你可能感兴趣的:(spring,aspectj,joinpoint)