Mawia
Mawia

Reputation: 4310

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.

Upvotes: 20

Views: 74779

Answers (10)

Mohamed Aymen Charrada
Mohamed Aymen Charrada

Reputation: 415

I have this issue and I solved by those steps: Right click on the project > Maven > Update project > OK then from the menu: Project > clean

and restart your IDE

Upvotes: 0

Luis Silva
Luis Silva

Reputation: 111

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.

Upvotes: 10

Michael
Michael

Reputation: 4000

I had the same error, without uninstalling any eclipse plugins. Maybe some of the plugins got updated. I was not able to run any project, even a simple Main class with a simple print-out failed.

What helped me is to run eclipse.exe -clean. Open command prompt, then go to eclipse directory and run eclipse.exe -clean, then open your workspace and start working as usual.

Hope it helps anyone.

Upvotes: 5

George Marin
George Marin

Reputation: 395

How to fix this :

  1. Click on run configuration
  2. Classpath tab
  3. Restore default entries

Upvotes: 1

Deepak
Deepak

Reputation: 1042

I had faced the same problem as you. Please make sure that your workspace name and project name are different along with the above mentioned configurations.

Upvotes: 1

bram000
bram000

Reputation: 538

You are missing the m2e (maven2eclipse) plugin.

Go to Eclipse market place and download+install. It should be fixed after that - this worked for me.

If you haven't marketplace available in your eclipse installation, go to "help/Install new Software" and enter the link http://download.eclipse.org/technology/m2e/releases.

Upvotes: 4

Sooryanadh
Sooryanadh

Reputation: 1

I faced the same problem, checked the configuration in properties of that particular project, found Java Compiler -> JDK compliance being disabled and unchecked. Tried some options to get it enabled bt no luck Had to create a new project and it got resolved.

Upvotes: -1

Alexey Romanov
Alexey Romanov

Reputation: 170713

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.

Upvotes: 5

Rais Alam
Rais Alam

Reputation: 7016

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.

Upvotes: 14

D.S
D.S

Reputation: 1150

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

Upvotes: 12

Related Questions