One of our bean definition XML files contains
<tx:annotation-driven/>
which causes a NoClassDefFoundError looking for "org/aopalliance/intercept/MethodInterceptor". Removing the tx:annotation-driven clause eliminates the error.
Google returns very old hits from Spring 1 having to do with not including the aopalliance classes. These are not included in Spring 3, and I would rather not have to pull additional jars (Spring is supposed to be self-contained, right?)
Are these old internal references that should have been updated to use Spring's AOP instead?


Reply With Quote
