-
Notifications
You must be signed in to change notification settings - Fork 210
NoSuchMethodError getMavenProjectFacade() (IMavenProjectFacade) #1024
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
This line:
looks like you have a lifecycle connector from sonar installed that is not compatible with the version of m2e that you have. Please check with Sonar for a compatible m2e lifecycle connector (or uninstall that connector). |
Thank you very much for that. I uninstalled the m2e sonar connector and it works. Isn't it possible to check all required dependencies beforehand? These super frequent nonsensical Eclipse error popups are why everyone is moving away from Eclipse. I really don't know what I did wrong. Next error: When creating a Spring Starter project in a non-default, custom file system location, then Eclipse / STS stops the setup process before renaming the Project to the specified name and before moving it to the working set. There's no log message in that case. Creating a Spring Starter project in default file system location works as expected, and creating a Java or maven project in non-default locations work as expected, too. Workaround:
The original problem is solved, if dependency checks cannot be added. At least, people with the same error message will be able to find an solution now. Thanks! (Google didn't yield any relevant results for |
@fenjen If location is specified some place else then the workspace folders the project isn't created? (See below) Is this correct? I'm using 4.18.0 and I see that the project is created at the location is specified and imported into the workspace with the specified name it seems... Are you using Windows? |
@fenjen and @BoykoAlex, please move the issue around the project location to a new, separate GitHub issue. |
I don't think you did anything wrong here and I agree that errors like this can be very frustrating, no question about that. Since Eclipse allows you to install (more or less random) extensions, there is not a lot that we can do here beyond relying on the general install/update mechanism and the metadata the plugin authors define on their extensions. The plugin authors should try to either provide always up-to-date versions of their extensions that work fine with the latest Eclipse and m2e versions - or add version constraints, so that the install or update process can verify those dependencies (as you suggested). This verification happens, but it needs the corresponding data to operate on.
At least the authors of the Sonar plugin should provide a fixed version of their extension that is compatible with the latest m2e versions. That would solve the underlying problem, so probably worth reporting this issue to them as well. Since I also suggested to move the investigation around the project location problem to a separate issue, I will close this one here for now. |
@martinlippert Yes, thank you very much! |
Describe the bug
When I create a new "Spring Starter Project" in Eclipse, I get the typical Eclipse error popup window (see below):
To Reproduce
Eclipse shows then a popup window with a title "Problem Occurred", and a message "'Import Getting Started Content' has encountered a problem". Here's the message:
Here's the stacktrace from Eclipse log:
The text was updated successfully, but these errors were encountered: