问题
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?
回答1:
Ok finally i find the solution for solve this problem i don't know why Eclipse showing me this error and i don't know is this a best solution but anyway i solve my problem with delete the artifacts.xml file in Eclipse root directory After delete this file try to install that plugin again but this time after few second everything done and work perfectly
UPDATE: If you get that's error again just go to Eclipse root directory and search for "artifacts.xml" and delete all the files is in the result ;)
回答2:
Remove the
artifacts.xmlfrom 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.xmlfile back into the eclipse folder.Restart eclipse and set the SDK location.
Code to death!!! ;p
回答3:
Run Eclipse as an administrator, then try to install the plugin again via help->Install New Software. it worked for me
回答4:
I installed E4 RCP Patch(bugzillas 445122)(Install new software -> Eclipse 4.4.1 Patches for bug 445122) and this helped me.
回答5:
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.)
回答6:
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->svnselect
ConnectorTab and clickGet connectorsButton then the prompt will appear select any oneconnectorto get it done (i use NativeHL 1.8).
回答7:
I solved this problem by editing the artifacts.xml.
- Close Eclipse.
- Edit the artifacts.xml.
- Find and delete previous entries related to the plugin you are trying to install.
- Save artifacts.xml.
After this you should be able to start Eclipse normally and install your plugin.
回答8:
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.
回答9:
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...........
回答10:
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.
回答11:
It's a failure in Eclipse.
Try to uninstall it then download it from: https://www.eclipse.org/downloads/
and install it.
来源:https://stackoverflow.com/questions/25094583/error-when-try-install-plugin