I am trying to set up an AOP spring example on this page:
http://www.javabeat.net/articles/51-introduction-to-springs-aspect-oriented-programminga-4.html
I use Eclipse Indigo as a development environment.
In these lines:
public class LogAfterThrowsAdvice implements ThrowsAdvice{ public class LogAfterReturningAdvice implements AfterReturningAdvice{ public class LogBeforeCallAdvice implements MethodBeforeAdvice {
I get a message:
The type org.aopalliance.aop.Advice cannot be resolved. it indirectly refers to the required .class files
I downloaded the org.aopalliance package from here:
http://sourceforge.net/projects/aopalliance/
The jar file is aopalliance-alpha1.jar. It does not contain the path org.aopalliance.aop. I am wondering if I should use a different aopalliance jar file?
opike
source share