配置aop报错:原因是配置切点表达式的时候报错了:
错误配置:
expression="execution(*com.zyh.service.*ServiceImpl.*(..))"
正确配置
expression="execution(* com.zyh.service.*ServiceImpl.*(..))"
就是在* com.zyh.service的星号后面要注意加空格
配置aop报错:原因是配置切点表达式的时候报错了:
expression="execution(*com.zyh.service.*ServiceImpl.*(..))"
expression="execution(* com.zyh.service.*ServiceImpl.*(..))"
就是在* com.zyh.service的星号后面要注意加空格
本文标题:Pointcut is not well-formed: exp
本文链接:https://www.haomeiwen.com/subject/rtfrzqtx.html
网友评论