Reputation: 2065
I'm trying to install a plugin in Eclipse Luna. I installed Papyrus and am trying to install SWT designer, but before the download/installation is completed I get an error:
An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase. session context was:(profile=epp.package.standard, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=). Error reading signed content. error in opening zip file
After this error I can't install anything and the install manager does not work anymore and shows me the same error all the time only one way I delete the current Eclipse directory and extract it again.
This time I install Papyrus, SWT designer and some other, but I get the error between install another plugin again. This is wrong if I get an error on install any of plugin reinstalling Eclipse and the other plugin again.
Is this a bug or a problem?
Upvotes: 65
Views: 69276
Reputation: 22070
The reason for this error is typically a damaged jar in the bundle pool. You can fix this without manually editing files:
You can now filter the bottom view to show only damaged artifacts, and choose to either delete or repair them (repair means to download them again from the Internet).
Upvotes: 0
Reputation: 2065
OK finally i found the solution for solve this problem. I don't know why Eclipse is showing me this error and i don't know if this is the best solution. I solve my problem with delete the artifacts.xml file in Eclipse root directory.
After deleting this file try to install that plugin again but this time after few second everything completes and works perfectly.
UPDATE: If you get that error again then just go to Eclipses' root directory and search for "artifacts.xml" and delete all the files is in the result ;)
Upvotes: 136
Reputation: 1
I tried many solution from here including the one which says removing artifacts.xml and try installing with opening software with Run as Administrator also tried to install from the Help option "Install new software" none of this worked for me.
Then I updated to the latest version of JDK and it worked perfectly. I hope this help you.
Thanks. Vijay P.
Upvotes: -1
Reputation: 1689
I solved this problem by editing the artifacts.xml.
After this you should be able to start Eclipse normally and install your plugin.
Upvotes: -1
Reputation: 2166
Recently i had this issue & i did a few workaround to make things right,
Drag and dropped from official page, normally eclipse restarts after the download, and a pop-up will ask us to select the svn connectors from list. but that didn't happened to me.
Install svn Plugin. (By drag and drop or install new software or any)
After this goto window->preferences->Team->svn
select Connector
Tab and click Get connectors
Button then the prompt will appear select any one connector
to get it done (i use NativeHL 1.8).
Upvotes: -1
Reputation: 1
org.aspectj.weaver_1.8.10.201704242114.jar
File will be downloaded for google, and it can be placed in eclipse/plugin/org.aspectj.weaver_1.8.10.201704242114.jar
can be replaced with older jar file.........it can be solved for your problem...........
Upvotes: -2
Reputation: 415
I ran across this problem while updating eclipse's internal software. I discovered that the jar file org.eclipse.epp.mpc.help.ui_1.5.2.v20161004-1655.jar (found in the error details) in the eclipse plugins directory was corrupted (7-Zip was unable to inspect its contents). I redownloaded and manually replaced this file with one downloaded from their site, and I was then able to install the software without an issue. Hope this helps :)
(If it was a different JAR file for you, you can click "show directory contents" on this page and download the one you need.)
Upvotes: 0
Reputation: 467
Remove the artifacts.xml
from the folder.
Keep a copy of it in some other location (preferably external devices such as pendrive or hard disks etc).
Restart Eclipse.
Install the software plugin you want to install (it will ask for permission again).
After installation paste the artifacts.xml
file back into the eclipse folder.
Restart eclipse and set the SDK location.
Code to death!!! ;p
Upvotes: 23
Reputation: 1
Try this from the Eclipse marketplace 1. Click Help>Eclipse marketPlace (Eclipse marketPlace dialog box will open) 2. Type the name of your plugin (ex: type SWT Designer) in the find edit box, make sure to keep default values for All markets and all categories, and click go button. 3. The page will refresh and display all plugins that have swt designer in their name. 4. Click intsall or update button on the one that fits your needs. 5. The installation or update will be done successfully. 6. Restart your eclipse 7. The installation will be fine.
Upvotes: -3
Reputation: 84
I installed E4 RCP Patch(bugzillas 445122)(Install new software -> Eclipse 4.4.1 Patches for bug 445122) and this helped me.
Upvotes: 1
Reputation: 169
Run Eclipse as an administrator, then try to install the plugin again via help->Install New Software. it worked for me
Upvotes: 7
Reputation: 21
It's a failure in Eclipse.
Try to uninstall it then download it from: https://www.eclipse.org/downloads/
and install it.
Upvotes: -5