Fix: Spring plugin in Eclipse cannot open pom.xml OR java.lang.noclassdeffounderror: org/eclipse/tm4e/ui/utils/contenttypehelper

I recently tried to install the Spring plugin (Spring Tools 4.14.1)  in Eclipse and later tried to create new project with opening the pom.xml file, it is showing the below error:

Failed to create the part's controls

java.lang.NoClassDefFoundError: org/eclipse/tm4e/ui/utils/ContentTypeHelper
    at org.eclipse.tm4e.languageconfiguration.LanguageConfigurationCharacterPairMatcher.findContentTypes(
    at org.eclipse.tm4e.languageconfiguration.LanguageConfigurationCharacterPairMatcher.getMatcher(
    at org.eclipse.tm4e.languageconfiguration.LanguageConfigurationCharacterPairMatcher.match(
    at org.eclipse.jface.text.source.MatchingCharacterPainter.paint(
    at org.eclipse.jface.text.PaintManager.addPainter(

Spring plugin in Eclipse cannot open pom.xml because the tm4e is missing in Spring Plugin (Spring Tools 4.14.1).

If Spring plugin in Eclipse cannot open pom.xml , to fix this issue follow below steps:

  1. Go to the help option
  2. Click on the install new software
  3. Click on Add URL
  4. Add link
  5. Click Finish Button.

Once above steps are completed, Restart the Eclipse application. These step should help you to fix above issue.