Mar 27th, 2010, 02:06 PM
Build Path is Incomplete. Cannot Find....
I have been happily working with Mac OSX Snow Leopard 10.6.2, Spring 3.0, Eclipse 3.5, Maven 2, and STS 2.3.0 for about 2 months.....then I upgraded to Spring 3.0.1, Eclispe 3.5.2, and STS 2.3.2 and I have had a nightmare of problems since.
Here is what I did:
- Downloaded new Eclipse 3.5.2 Java EE edition from Eclipse.org.
- Installed all the patches and added XML and XSL plugins
- Installed Spring Tool Suite 2.3.2 following directions on Springs Web Site
- Installed m2Eclipse
Now all my config.xml files show this error for anything to do with Database transactions:
"Build Path is incomplete. Cannot find class file or could not initialize class org.springframework.aop.aspectj.AspectJExpressionP ointcut"
I have narrowed down the problem to the spring transaction lines of code. Comment these lines out and the file will not have any errors, uncomment all the errors show up again.
<bean id="transactionManager" class="org.springframework.orm.hibernate3.Hibernat eTransactionManager">
<property name="sessionFactory" ref="sessionFactory" />
<tx:annotation-driven transaction-manager="transactionManager" />
Again, code worked perfectly before upgrade, doesn't work now. I have pulled my hair out for two days trying to solve this and can't figure it out. Any help would be appreciated. (I think it has something to do Maven, but can't figure out what)
Tags for this Thread