Click here to Skip to main content
16,016,022 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello everyone, please I was trying to create a Spring boot project from eclipse IDE and I got this error -
'Import Getting Started Content' has encounter a problem.

NoSuchMethodError: 'void
 org.eclipse.m2e.core.project.ResolverConfiguration.setActiveProfiles(java.lang.String)'
java.lang.reflect.InvocationTargetException

According to some online research that I did about this issue, I have to uninstall
m2e in Eclipse
. Please how do I unistall
uninstall m2e in Eclipse


What I have tried:

How do I uninstall m2e-wtp-Maven Integration for WTP from Eclisple IDE
Posted
Updated 21-Nov-23 5:58am
v2

1 solution

In Eclipse Marketplace (which you can access through the Help button in Eclipse), it shows your plugins (some of them, not all of them), such as M2E.

When I switched M2E, to an alternate in Eclipse, it gave me the option to “change”/“disable” M2E.

If M2E doesn’t pop-up, then you can search for it directly to “disable” it, using the search bar in the marketplace.

Then you should be allowed to compile your code, and it should work with the other plugin.

This should help with your error, but it doesn’t “uninstall” the plugin. There might be an “uninstall” button there as well though (cross our fingers)— otherwise, you’ll probably have to navigate to the directory where it is installed on your computer to delete it

Best of luck!
- Cheers
 
Share this answer
 
Comments
UT7 21-Mar-24 22:19pm    
@Tyler Bakeman, thanks a lot, I'm so sorry for late response. I have to m2e plugins installed from marketplace (1) Eclipse m2e - Maven support in Eclipse IDE (2) m2e connector-wro4j 1.2.0 . Please which of these should I uninstall ? Thanks for your time and help.
Tyler Bakeman 24-Mar-24 22:08pm    
Hi, just saw your response. I was expecting you to have a different plugin,, in this case, you can keep both plugins installed. M2E - Maven support in Eclipse is the default (I use this one), you should keep. The other plugin for wr04j is specific for another library (you can delete it if you aren’t using any code, in your programs, from that library).

I haven’t worked with wro4j personally though. I would uninstall it, that should hopefully fix the issue (if it persists, that’d be tricky). If youd like to use code from that library, perhaps you can add it as a dependency still to your pom.xml (generated by future Maven projects), which would allow you to remove it from Eclipse specifically, and still use its code (in theory).

Best of luck! Let us know how it goes
UT7 24-Mar-24 23:28pm    
@Tyler Bakeman, thanks for your response. I uninstalled m2e connector-wro4j 1.2.0, I tried to create another Spring project from Eclipse and I still got that error, although the project got created but the error still persist. I might just have to ignore the error, thanks a lot for your time and help.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900