简体   繁体   中英

AspectJ And Spring eclipse configuration

When i create AspectJ project eveyrthing is ok. When i create new Project(Not with aspectJ) and i link a Spring libs it's ok also, but when i Create AspectJ project and then link Spring libs i am getting "User operation is Waiting, building workspace" - and it's never ending, or causes an error and i have to restart eclipse

I don't know what to do. I used aspect J from eclipse side http://www.eclipse.org/ajdt/downloads/ for eclipse 4.3 kepler. - installed this with help -> install new software. Spring libs = spring-framework-4.0.6.RELEASE-dist + apache logging 1.2. - I made a user lib and just adding to Project.

I use eclipse 4.3.

I have tried this in so many ways and don't know what to do

Before, I was using eclipse luna 4.4 and spring worked there awesome, but i had to change on kepler because i can't install aspectJ on luna 4.4

I do not really understand your problem description, but if you want to use AJDT under Eclipse 4.4 Luna and are fine with a development build for now, try this update site:

http://download.eclipse.org/tools/ajdt/44/dev/update

It supports the new annotation processing feature which was just introduced in AspectJ 1.8.2, see this announcement by AspectJ maintainer Andy Clement.

Good luck!


Update 2016-11-20: Somebody asked for AJDT in Eclipse Neon with Java 8. Indeed I have it running on my Windows 10 64-bit machine, always in combination with Java 8. The update site is:

http://download.eclipse.org/tools/ajdt/neon/update/ (no longer valid) http://download.eclipse.org/tools/ajdt/46/dev/update/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM