Gary -
The original pointcut expression you supplied:
Code:
com.dcci.spring.aop.HelloService.testReturnVal()
will attempt to reference a named pointcut (defined with @Pointcut) called testReturnVal. However, it looks like you were trying to create a pointcut expression to match calls to an existing testReturnVal method. When creating a pointcut expression, you need to use one of the supported pointcut designators, such as execution(); otherwise, a simple method signature will be interpreted as a named pointcut. See here for more details on the available pointcut designators:
http://static.springframework.org/sp...ts-designators