KEEP GOING

[error] Failed to create the part's controls : java.lang.NoClassDefFoundError 본문

etc

[error] Failed to create the part's controls : java.lang.NoClassDefFoundError

jmHan 2022. 6. 23. 17:23
반응형

 

메이븐 프로젝트를 생성하는데 다음과 같은 에러가 발생하였다.

 

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

...

 

https://stackoverflow.com/questions/72043028/spring-plugin-in-eclipse-cannot-open-pom-xml

 

Spring plugin in Eclipse cannot open pom.xml

I've installed the most popular plugin in Eclipse (Spring Tools 4.14.1) and i tried to create a new project and open the pom.xml and then it shows error and comes like Failed to create the part's

stackoverflow.com

stack overflow를 참고해서 문제를 해결할 수 있었다.  

Spring Tools 4.14.1 버전에서는 tm4e를 제공해주지 않기 때문에 따로 설치해주면 된다고 한다.

Help > Install new software > URL 추가 https://download.eclipse.org/tm4e/snapshots/

 

 

finish를 누른후 재시작하면 pom.xml이 정상적으로 보인다. 

반응형
Comments