-
Sep 25th, 2012, 11:41 PM
#11
Solution of ClassNotFoundException :L org.aopalliance.aop.advice
As part of https://jira.springsource.org/browse/SPR-2011, Removed AOP Alliance interfaces from spring-aop.jar and the aopalliance.jar needs to be added explicitly. Instead of using jar from any other sources, it's better to use jar from official maven repository.
Goto Central repository http://search.maven.org/#browse and search for org.aopalliance.aop.Advice in advance search by class name. After adding aopalliance-1.0.jar, issues is resolved. And i am able to use MethodBeforeAdvice in terface. Spring 3.1 jars used here.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules