1

I copied an Eclipse project from my PC (eclipse is on drive D) to the laptop (eclipse is on drive c) but when I try to deploy the agents I have in my project I keep getting the following error:

The archive **D**:/eclipse/plugins/it.fbk.sra.ejade_0.9.0/lib/libjade4/commons-codec-1.3.jar which is referenced by the classpath does not exist.

I changed all the libraries' addresses to the correct ones (C:/eclipse/plugins/it.fbk.sra.ejade_0.9.0/lib/libjade4/__etc__) for all of them by right clicking the project > build path > configure build path... but that doesn't work. I also tried to refresh the project, restart eclipse but still nothing..

Any suggestions?

Thanks a lot!

4
  • When you say configure build path doesn't work, what's the problem? You should be able to add an external jar by navigating to its location in the filesystem. This should clear up the problem. Commented Dec 4, 2011 at 12:13
  • Hi Andrew! Thanks for replying. I tried removing all of them, then adding them again from the libraries tab inside the build path... but I still get that error. I searched manually through the files and found the wrong address inside workbench.xml inside the project folder... does that help?\ Commented Dec 4, 2011 at 12:34
  • So if you select 'Java Build Path', and click on the Libraries tab. Click 'Add External JARs'. Then navigate to the location of your jar and add it. What happens? If there are any jars listed here that don't exist in the filesystem, they should be marked with warnings Commented Dec 4, 2011 at 12:42
  • The same probs occured to me. And I tried all these solutions. but still it doesnt work :( Commented Sep 26, 2012 at 4:18

4 Answers 4

1

First make sure that the .jar file is exist in the given path,if so then you can easily try making a new project and copy your material to it, and configure it to the .jar path.

If this doesn't work you may need to remove the temporary files from your project and eclipse on your laptop.

Also, please give more description about what happens on right clicking the project > build path > configure build path ?

Hope everything works well.

Sign up to request clarification or add additional context in comments.

Comments

1

I had the same problem and just discovered the solution to this.

Go to project>properties>Java Build Path>Libraries>Add External JARS.

After specifying JAR file at a certain location, you will see it in previous window "JARs and class folders on the build path:" with "JAR_fileName - C:\YOURPATH".

Don't stop here instead click on the "+" button to the left to expand it, and IF it says "Source attachment: (NONE)", you double click it and add the path to the JAR file by selecting Workspace location.

This solved the problem for me.

Comments

0

Had the same problem and non of the above solutions worked.

This is how I fixed it.

  1. go to your project folder
  2. open .classpath file (enable view hidden files if its not showing)
  3. edit the path
  4. delete the project from workspace. Imp: Don't select (Delete project content) checkbox when prompted. !!!
  5. re-import the same project

Comments

-1

I had the same issue... I was refering jars from a mapped drive, when I moved them to my local drives, it started working fine. Also try giving a shorte path for the jars.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.