Error when try install plugin

JavaEclipseEclipse Plugin

Java Problem Overview


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?

Java Solutions


Solution 1 - Java

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 ;)

Solution 2 - Java

  1. Remove the artifacts.xml from the folder.

  2. Keep a copy of it in some other location (preferably external devices such as pendrive or hard disks etc).

  3. Restart Eclipse.

  4. Install the software plugin you want to install (it will ask for permission again).

  5. After installation paste the artifacts.xml file back into the eclipse folder.

  6. Restart eclipse and set the SDK location.

  7. Code to death!!! ;p

Solution 3 - Java

Run Eclipse as an administrator, then try to install the plugin again via help->Install New Software. it worked for me

Solution 4 - Java

I installed E4 RCP Patch(bugzillas 445122)(Install new software -> Eclipse 4.4.1 Patches for bug 445122) and this helped me.

Solution 5 - Java

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.)

Solution 6 - Java

The reason for this error is typically a damaged jar in the bundle pool. You can fix this without manually editing files:

  • run the Eclipse installer ("Oomph")
  • select "Bundle pools" from the menu
  • hit the "Analyze agent" button
  • wait until the column "Damaged Artifacts" doesn't show a percent number anymore (scanning has finished)

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).

Solution 7 - Java

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.

  1. Install svn Plugin. (By drag and drop or install new software or any)

  2. After this goto window->preferences->Team->svn

  3. 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).

Solution 8 - Java

I solved this problem by editing the artifacts.xml.

  1. Close Eclipse.
  2. Edit the artifacts.xml.
  3. Find and delete previous entries related to the plugin you are trying to install.
  4. Save artifacts.xml.

After this you should be able to start Eclipse normally and install your plugin.

Solution 9 - Java

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.

Solution 10 - Java

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...........

Solution 11 - Java

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.

Solution 12 - Java

It's a failure in Eclipse.

Try to uninstall it then download it from: https://www.eclipse.org/downloads/

and install it.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
Questionuser3855547View Question on Stackoverflow
Solution 1 - Javauser3855547View Answer on Stackoverflow
Solution 2 - JavaAkshayView Answer on Stackoverflow
Solution 3 - JavaThe PrinceView Answer on Stackoverflow
Solution 4 - JavaTaras BView Answer on Stackoverflow
Solution 5 - JavaNathan MeyerView Answer on Stackoverflow
Solution 6 - JavaBananeweizenView Answer on Stackoverflow
Solution 7 - JavaAravindh GopiView Answer on Stackoverflow
Solution 8 - JavaKentView Answer on Stackoverflow
Solution 9 - JavaVijay P.View Answer on Stackoverflow
Solution 10 - JavaMadhavView Answer on Stackoverflow
Solution 11 - JavaZak BenzaView Answer on Stackoverflow
Solution 12 - JavaAlex LView Answer on Stackoverflow