Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse: Referenced classpath provider does not exist

In my attempt to lighten my eclipse, I uninstalled some plugins.

After that I can't run my projects anymore. I get this error:

Referenced classpath provider does not exist: org.eclipse.m2e.launchconfig.classpathProvider

How can I recover from this?

I don't remember which plugins I removed.

I am using Eclipse Indigo.

like image 290
Mawia Avatar asked Feb 19 '13 07:02

Mawia


4 Answers

A simple solution to get your launch configurations running again, is to right click on your project within the IDE and then choose Configure -> Convert to Maven Project. This fixes the broken launch configuration and also brings back the "Maven" context menu entry for the project.

like image 107
Rais Alam Avatar answered Sep 21 '22 05:09

Rais Alam


Perhaps you are trying a Run Configuration which has dependency to the uninstalled plugin. Delete the Run Configuration for that project and re create it.

see here

like image 35
D.S Avatar answered Sep 18 '22 05:09

D.S


Regarding the issue on Eclipse

"Referenced classpath provider does not exist: org.eclipse.buildship.core.classpathprovider"

when running an application, I solved the problem by

  1. going to the "Eclipse Marketplace"
  2. searched by "buildship"
  3. updated the "Buildship Gradle Integration" plugin (click button update)
  4. restarted Eclipse

Hope it helps someone.

like image 35
Luis Silva Avatar answered Sep 20 '22 05:09

Luis Silva


You can try to restore your old configuration:

  1. Click Help > About and then click command link Installation Details....
  2. Click the Installation History tab to see a list of previously saved configurations. Selecting each configuration will show you what was installed in that configuration. When you have found the configuration to which you want to revert, click Revert.
  3. Click Yes when asked to exit and restart the workbench.

Failing this, @PradeepSimha is right: it would be best just to reinstall Eclipse. Otherwise the chances are you will run into same trouble in the future, possibly when you forget the reason for it.

like image 39
Alexey Romanov Avatar answered Sep 18 '22 05:09

Alexey Romanov