Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » Bundle 'org.aspectj.runtime' cannot be resolved
Bundle 'org.aspectj.runtime' cannot be resolved [message #72568] Mon, 10 November 2008 16:48 Go to next message
Hao Missing name is currently offline Hao Missing nameFriend
Messages: 115
Registered: July 2009
Senior Member
I download aspectj for eclipse 3.2 and install it in the following way.

I unzip the file to a directory as
D:/softs/aspectj32

and create a link file called aspectj.link, put the file in the links
diretory of eclipse. The content of the file is
path=D:/softs/aspectj32

After I conver my eclipse plug-in dev poject into aspectj, the manifest.mf
contains org.aspectj.runtime as require-bundle.

But I got error as
Bundle 'org.aspectj.runtime' cannot be resolved

I highly appreciate if some one can help to resolve the problme.
Re: Bundle 'org.aspectj.runtime' cannot be resolved [message #72586 is a reply to message #72568] Mon, 10 November 2008 18:02 Go to previous messageGo to next message
Andrew Eisenberg is currently offline Andrew EisenbergFriend
Messages: 382
Registered: July 2009
Senior Member
Did you download aspectj or ajdt?

Also, would be better if you could unzip ajdt directly into the plugins
directory, rather than using a link file (not exactly sure how that even
works).

Or, you could create an eclipse extension location if you wanted to keep
ajdt separate from the rest of your eclipse installation (see help files
on how to do this).

But the best solution is to upgrade to Eclipse 3.4 and use AJDT 1.6.
Re: Bundle 'org.aspectj.runtime' cannot be resolved [message #72603 is a reply to message #72586] Mon, 10 November 2008 19:09 Go to previous messageGo to next message
Hao Missing name is currently offline Hao Missing nameFriend
Messages: 115
Registered: July 2009
Senior Member
<
Did you download aspectj or ajdt?
>
I download ajdt. Do I need to download aspectj?

<
Also, would be better if you could unzip ajdt directly into the plugins
directory, rather than using a link file (not exactly sure how that even
works).
>
I will try this way.
<
Or, you could create an eclipse extension location if you wanted to keep
ajdt separate from the rest of your eclipse installation (see help files
on how to do this).
>
Could you please tell me where's the help files?

<
But the best solution is to upgrade to Eclipse 3.4 and use AJDT 1.6.
>
We are using IBM RSA. I have not choice to use eclipse 3.4
Re: Bundle 'org.aspectj.runtime' cannot be resolved [message #72618 is a reply to message #72586] Mon, 10 November 2008 20:39 Go to previous messageGo to next message
Hao Missing name is currently offline Hao Missing nameFriend
Messages: 115
Registered: July 2009
Senior Member
<
Also, would be better if you could unzip ajdt directly into the plugins
directory, rather than using a link file (not exactly sure how that even
works).
>

I tried this. It does not work.

hao
Re: Bundle 'org.aspectj.runtime' cannot be resolved [message #72633 is a reply to message #72618] Tue, 11 November 2008 01:12 Go to previous messageGo to next message
Andrew Eisenberg is currently offline Andrew EisenbergFriend
Messages: 382
Registered: July 2009
Senior Member
Have you tried downloading from the update site?

To find the help, click on Help -> Help Contents.
Re: Bundle 'org.aspectj.runtime' cannot be resolved [message #72647 is a reply to message #72633] Tue, 11 November 2008 02:24 Go to previous messageGo to next message
Hao Missing name is currently offline Hao Missing nameFriend
Messages: 115
Registered: July 2009
Senior Member
I did tried to do update from update site and got the same error.
Re: Bundle 'org.aspectj.runtime' cannot be resolved [message #599254 is a reply to message #72568] Mon, 10 November 2008 18:02 Go to previous messageGo to next message
Andrew Eisenberg is currently offline Andrew EisenbergFriend
Messages: 382
Registered: July 2009
Senior Member
Did you download aspectj or ajdt?

Also, would be better if you could unzip ajdt directly into the plugins
directory, rather than using a link file (not exactly sure how that even
works).

Or, you could create an eclipse extension location if you wanted to keep
ajdt separate from the rest of your eclipse installation (see help files
on how to do this).

But the best solution is to upgrade to Eclipse 3.4 and use AJDT 1.6.
Re: Bundle 'org.aspectj.runtime' cannot be resolved [message #599260 is a reply to message #72586] Mon, 10 November 2008 19:09 Go to previous messageGo to next message
Hao Missing name is currently offline Hao Missing nameFriend
Messages: 115
Registered: July 2009
Senior Member
<
Did you download aspectj or ajdt?
>
I download ajdt. Do I need to download aspectj?

<
Also, would be better if you could unzip ajdt directly into the plugins
directory, rather than using a link file (not exactly sure how that even
works).
>
I will try this way.
<
Or, you could create an eclipse extension location if you wanted to keep
ajdt separate from the rest of your eclipse installation (see help files
on how to do this).
>
Could you please tell me where's the help files?

<
But the best solution is to upgrade to Eclipse 3.4 and use AJDT 1.6.
>
We are using IBM RSA. I have not choice to use eclipse 3.4
Re: Bundle 'org.aspectj.runtime' cannot be resolved [message #599269 is a reply to message #72586] Mon, 10 November 2008 20:39 Go to previous messageGo to next message
Hao Missing name is currently offline Hao Missing nameFriend
Messages: 115
Registered: July 2009
Senior Member
<
Also, would be better if you could unzip ajdt directly into the plugins
directory, rather than using a link file (not exactly sure how that even
works).
>

I tried this. It does not work.

hao
Re: Bundle 'org.aspectj.runtime' cannot be resolved [message #599277 is a reply to message #72618] Tue, 11 November 2008 01:12 Go to previous messageGo to next message
Andrew Eisenberg is currently offline Andrew EisenbergFriend
Messages: 382
Registered: July 2009
Senior Member
Have you tried downloading from the update site?

To find the help, click on Help -> Help Contents.
Re: Bundle 'org.aspectj.runtime' cannot be resolved [message #599282 is a reply to message #72633] Tue, 11 November 2008 02:24 Go to previous messageGo to next message
Hao Missing name is currently offline Hao Missing nameFriend
Messages: 115
Registered: July 2009
Senior Member
I did tried to do update from update site and got the same error.
Re: Bundle 'org.aspectj.runtime' cannot be resolved [message #810278 is a reply to message #72568] Wed, 29 February 2012 23:18 Go to previous messageGo to next message
eclipse victim is currently offline eclipse victimFriend
Messages: 2
Registered: February 2012
Junior Member
I have now the exact same problem, you have.

Could you tell me please how did you solve it?

Thx a lot
Re: Bundle 'org.aspectj.runtime' cannot be resolved [message #878109 is a reply to message #810278] Mon, 28 May 2012 15:12 Go to previous messageGo to next message
valentin Mising name is currently offline valentin Mising nameFriend
Messages: 38
Registered: December 2011
Member
I have the same problem. Installing through "update site" shows this problem and I see no resolution. It seems that nobody uses the AspectJ.
Re: Bundle 'org.aspectj.runtime' cannot be resolved [message #878167 is a reply to message #72568] Mon, 28 May 2012 18:28 Go to previous messageGo to next message
valentin Mising name is currently offline valentin Mising nameFriend
Messages: 38
Registered: December 2011
Member
ajdt installed via download.eclipse.org/tools/ajdt/37/update

The error I see:
The container 'AspectJ Runtime Library' references non existing library 'file:\C:\Eclipse\SDK-3.7.2-win32-x86_64\plugins\org.aspectj.runtime_1.6.12.20110613132200.jar!\aspectjrt.jar'


I see that the aspectjrt.jar exists within the org.aspectj.runtime_1.6.12.20110613132200.jar. I also installed aspectJ, which also contains the jar albeit in another dir, and expanded my classpath to it. Still no effect.

Thanks.

Update I see in file monitor that C:\Eclipse\SDK-3.7.2-win32-x86_64\file:\C:\Eclipse\SDK-3.7.2-win32-x86_64\plugins\org.aspectj.runtime_1.6.12.20110613132200.jar!\aspectjrt.jar is failed to open. We see some artifacts in this URL. I furnthermore see an error icon over the AspectJ Runtime Library in Build Path. How can I fix it?

Update2 I have removed the faulty AspectJ Runtime Library from Build Path and added external /root/aspectj/lib/aspectjrt.jar instead. It compiles now (aspects do not intercept anything, though, because I am a new user).

[Updated on: Mon, 28 May 2012 19:15]

Report message to a moderator

Re: Bundle 'org.aspectj.runtime' cannot be resolved [message #878191 is a reply to message #878109] Mon, 28 May 2012 19:38 Go to previous messageGo to next message
Andrew Eisenberg is currently offline Andrew EisenbergFriend
Messages: 382
Registered: July 2009
Senior Member
@valentin in order to help I will need more information:

1. What version of Eclipse?
2. What version of AJDT?
3. Which update site?
4. Any relevant errors in your error log?
5. Exact text of the problem that you see in the problems view.

Also, many people are using AspectJ, but this forum is not the most popular avenue of support for the language or the tooling. You will get a better response by using the aspectj-users mailing list. See here:
https://dev.eclipse.org/mailman/listinfo/aspectj-dev.
Re: Bundle 'org.aspectj.runtime' cannot be resolved [message #878221 is a reply to message #878191] Mon, 28 May 2012 21:23 Go to previous message
Andrew Eisenberg is currently offline Andrew EisenbergFriend
Messages: 382
Registered: July 2009
Senior Member
Does the file C:\Eclipse\SDK-3.7.2-win32-x86_64\file:\C:\Eclipse\SDK-3.7.2-win32-x86_64\plugins\org.aspectj.runtime_1.6.12.20110613132200.jar exist? It shouldn't. Instead, there should be a directory with the same name (minus the .jar). ie, you should see this:

C:\Eclipse\SDK-3.7.2-win32-x86_64\file:\C:\Eclipse\SDK-3.7.2-win32-x86_64\plugins\org.aspectj.runtime_1.6.12.20110613132200/

If you see the jar file, and not the directory, that means AJDT has been installed incorrectly. Try uninstalling and reinstalling AJDT from the update site.

ps- odd that my reply came after yours.
Previous Topic:Eclipse 180RD
Next Topic:Getting examples to run
Goto Forum:
  


Current Time: Fri Apr 19 21:54:23 GMT 2024

Powered by FUDForum. Page generated in 0.03884 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top