Spring autowired bean for @Aspect aspect is null
Answered
I am running the integration test where aspect j is used. I don't have any prior knowledge related to aspect j but when I ran the same test on eclipse it is running fine. One thing I noticed is that beans were getting autowired correctly(by spring aop plugin or aspectj, i am not sure) but after that, they are getting set to null. All of the below objects (like DynamicResolverLocator)are getting set as null.
Please sign in to leave a comment.
Make sure annotation processors are enabled in the compiler settings: https://www.jetbrains.com/help/idea/annotation-processors-support.html.
If the issue persists, please file an issue at https://youtrack.jetbrains.com/issues/IDEA and attach a sample project to reproduce it.