Top "Spring-aop" questions

Spring AOP is the Spring Framework's version of AOP, implemented in pure Java and using the @AspectJ annotations from the AspectJ project.

is java.lang.NoClassDefFoundError: org/apache/ibatis/session/SqlSessionFactory with mybatis and Spring

I'm new to Mybatis and trying to implement mybatis with Spring but getting the below runtime error while starting tomcat. …

spring spring-aop mybatis spring-jdbc
How to inject HttpServletRequest into a Spring AOP request (custom scenario)?

I know the standard way of writing an AOP advice around a controller method and that you can get access …

spring-aop
Obtain real Class object for Spring bean

I am using Spring to inject beans. And I am using some annotations to annotate bean methods (Security, TransactionManagement, ExceptionHanling, …

java spring spring-aop
Is using Spring AOP for logging a good idea?

I'm reading up on Spring at the moment and one of the examples used for a use of AOP is …

java spring logging aop spring-aop
Spring application has Cglib2AopProxy warnings

Upon starting my application, I get numerous warnings along the lines of o.s.aop.framework.Cglib2AopProxy 'Unable to …

spring spring-aop spring-transactions
Spring AOP pointcut for annotated argument

Say I have a method like so: public void method(@CustomAnnotation("value") String argument) Is there a pointcut expression that …

spring aop spring-aop pointcut
I'm getting the following exception when following the JavaBrains tutorial on Spring Aspect Programming:

I'm following the spring aspect programming tutorials at Javabrains. I'm in this tutorial specifically: http://javabrains.koushik.org/2011/08/spring-tutorial-27-writing-our-first.…

java exception spring-aop
Spring - Intercepting bean creation and injecting custom proxy

I have a @Controller with @Autowired fields and handler methods that I want to annotate with custom annotations. For example, @…

java spring spring-mvc spring-aop
Spring AOP: how to get the annotations of the adviced method

I'd like to implement declarative security with Spring/AOP and annotations. As you see in the next code sample I …

java security spring spring-aop
Spring 3 MVC @Controller with AOP interceptors?

Anyone knows why apparently it is not possible to use AOP with annotated MVC Controllers? (see Post). I have a @…

java spring spring-mvc controller spring-aop