Eclipse asking over and over to enable JDT Weaving [message #600797] |
Wed, 10 February 2010 18:41  |
Eclipse User |
|
|
|
So I want to enable JDT Weaving - in fact, as far as I knew it was enabled - but when I started Eclipse I got the prompt, so I clicked to enable it and restarted. However, it prompted me again, so I clicked to enable again and restarted again, after which... well, you get the idea.
I can't seem to get JDT Weaving enabled. I've tried it through the prompt and through Preferences, restarting immediately or in a bit, uninstalling and reinstalling the AJDT/weaving plugins - nothing seems to help. Any ideas?
|
|
|
|
|
|
|
|
|
Re: Eclipse asking over and over to enable JDT Weaving [message #600962 is a reply to message #600953] |
Thu, 22 April 2010 14:17  |
Eclipse User |
|
|
|
Hi Steve,
There are conflicts between org.aspectj.weaver and com.springsource.org.aspectj.weaver. The second one is only present if you are using STS. It is usually the case that when you enable JDT weaving all the steps above are done for you, but sometimes things don't work out well. This can be the case when there is an exception thrown on shutdown, preventing the IDEs state from being saved (the exception can be completely unrelated to AJDT).
It could be that when you disabled com.springsource.org.aspectj.weaver, org.aspectj.weaver was also disabled. And that is why you were seeing problems in your editor. It is sometimes hard to know exactly why this happened, but going through the manual steps to enable JDT weaving will fix things.
|
|
|
Powered by
FUDForum. Page generated in 0.03733 seconds