Pointcut is not well-formed: expecting 'name pattern' at character position 36
学习了:http://blog.csdn.net/benjamin_whx/article/details/37816675
@Before("execution(* com.wisely.highlight_spring4.ch1.aop.DemoMethodService.*(..))")
public void before(JoinPoint joinPoint){
MethodSignature signature = (MethodSignature) joinPoint.getSignature();
Method method = signature.getMethod();
System.out.println("方法规则式拦截," + method.getName());
}
注意第一个星号后面有一个空格。