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/

链接地址: http://www.djcxy.com/p/25408.html

上一篇: 实体管理器尚未在远程主机OpenShift上注入Spring Aspect Jar

下一篇: AspectJ和Spring eclipse的配置