Hi sometimes back I encountered the above exception while doing some SpringMVC application.
Please find the brief details of the library below:
Aopaliance library is a dependency for spring AOP (spring framework for aspect oriented programming). It is required for a spring based application to use AOP feature. For example adding method start/end logging for all classes in a common place, ability to write method interceptors etc. Though in our application we tried removing the AOP based code, it is indirectly referred by spring-security library that we use for application login/security mechanism.
If you encounter the above error then just add the aopaliance.jar to the classpath of your application, this will resolve
java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptor error.
You can download the file from here: http://sourceforge.net/projects/aopalliance/files/
Hope this would help whenever you encounter this exception.
Please find the brief details of the library below:
Aopaliance library is a dependency for spring AOP (spring framework for aspect oriented programming). It is required for a spring based application to use AOP feature. For example adding method start/end logging for all classes in a common place, ability to write method interceptors etc. Though in our application we tried removing the AOP based code, it is indirectly referred by spring-security library that we use for application login/security mechanism.
If you encounter the above error then just add the aopaliance.jar to the classpath of your application, this will resolve
java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptor error.
You can download the file from here: http://sourceforge.net/projects/aopalliance/files/
Hope this would help whenever you encounter this exception.
No comments:
Post a Comment