Can I use spring(2.0.3) aop without aspectj?
I dont want to use aspectj at all and I dont want to include it on my classpath.
When I dont include it, I get a class not found error.
Here is the aop code that causes the error and the error itself:
<aop:config>
<aopointcut id="mainServiceMethods" expression="execution(* testing.*Service.*(..))"/>
</aop:config>
Caused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException
The README for the spring download doesnt mention aspectj as a dependency for the spring aop module.
Is there a bug with this release, is aspectj mandatory, or have I made a mistake?


ointcut id="mainServiceMethods" expression="execution(* testing.*Service.*(..))"/>
Reply With Quote