Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 333090

Summary: Only for ajdt_2.1.1. 'AspectJ Runtime Library' references non existing library. "org.aspectj.runtime_1.6.10.20101003133000.jar!\aspectjrt.jar" is missing
Product: [Tools] AJDT Reporter: Michael Liu <412140321>
Component: CoreAssignee: AJDT-inbox <AJDT-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: P3 CC: andrew.eisenberg
Version: 2.1.1   
Target Milestone: 2.1.3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
consisting of some images showing how i installed the AJDT, and how the problem appeared none

Description Michael Liu CLA 2010-12-22 08:55:33 EST
I am having a problem: The container 'AspectJ Runtime Library' references non existing library 'file:\D:\Tools\Eclipse3.5\eclipse-SDK-3.5-win32\eclipse\myplugins\ajdt_2.1.1_for_eclipse_3.5\plugins\org.aspectj.runtime_1.6.10.20101003133000.jar!\aspectjrt.jar'.

I download the "eclipse-SDK-3.5-win32.zip" from  "http://archive.eclipse.org/eclipse/downloads/drops/R-3.5-200906111540/eclipse-SDK-3.5-win32.zip", and download the "ajdt_2.1.1_for_eclipse_3.5.zip" form 
"http://download.eclipse.org/tools/ajdt/35/update/ajdt_2.1.1_for_eclipse_3.5.zip".Then i installed  the AJDT into Eclipse.

When i create a AspectJ Project, the problem will appear.   

I went to the folder "org.aspectj.runtime_1.6.10.2010100313300.jar", and found aspectjrt.jar. 

But when i use "ajdt_2.0.2_for_eclipse_3.5", the problem will not appear.

I don't know what is wrong. Is it a bug? Any one can help me? Thanks!
Comment 1 Andrew Eisenberg CLA 2010-12-22 11:16:44 EST
How did you perform the install?  Did you point your install manager to the zip file, or some other way?
Comment 2 Michael Liu CLA 2010-12-23 02:39:33 EST
Created attachment 185750 [details]
consisting of some images showing how i installed the AJDT, and how the problem appeared

I have uploaded a zip file that consists of some images showing how i installed the AJDT, and how the problem appeared. 

When i created a AspectJ project. "For_ajdt_2.0.2_for_eclipse_3.5.rar" shows the process that i use ajdt_2.0.2_for_eclipse_3.5, while "For_ajdt_2.1.1_for_eclipse_3.5.rar" shows the process that i use  ajdt_2.1.1_for_eclipse_3.5.
Comment 3 Andrew Eisenberg CLA 2010-12-29 12:27:31 EST
Your images seem to show that you did not use the standard install manager for installing ajdt.  Is this correct?  It looks like you are installing the plugins into a linked directory.  This is unlikely to work with JDT weaving (so searching and navigation of your aspects will be disabled), but this is not the problem that you are seeing.

I do see that in image fif2.bmp, the sub-directories features and plugins are empty.  Could this be part of your problem?

Regardless, I'd recommend uninstalling whatever you have installed and use the Eclipse install manager.  Go to Help -> Install New Software...
Comment 4 Andrew Eisenberg CLA 2011-04-26 22:00:22 EDT
Any progress on this problem?
Comment 5 Andrew Eisenberg CLA 2011-06-22 16:40:36 EDT
No comment from the original reporter of this bug, so assuming the problem has been fixed.  Please re-open if you continue to have a problem.