Reputation: 4310
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
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
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
Hope it helps someone.
Upvotes: 10
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
Reputation: 395
How to fix this :
Upvotes: 1
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
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
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
Reputation: 170713
You can try to restore your old configuration:
Help > About
and then click command link Installation Details...
.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
.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
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