I'm setting a Spring 3.2.3 + Hibernate 4 project in Eclipse 4.3.
When I add the code <tx:annotation-driven transaction-manager="transactionManager"/>
to my context I start getting the following error in every single bean:
Build path is incomplete. Cannot find class file for org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException
Now, I added both AspectJ Tools and Cglib dependencies to my project and the JARs are there, including the class it can't find. The application runs normally, and Spring is managing sessions and transactions successfully.
I've searched for a solution but every answers says the error occurs because the lack of JARs.
Does anyone knows what I'm missing (incompatible versions?) or is this an Eclipse bug?
Here is a print screen of the problem (every error you'll see is the one I indicated above).
Thanks in advance!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…