자바 프로그래밍을 하는 과정에서 아래와 같은 에러가 날 때가 있습니다.
The method getTextContent() is undefined for the type Node
문제 원인
다른 버전의 org.w3c.dom.Node를 사용하여 나오는 문제이다.
문제해결
JRE System Library를 다른 라이브러리들보다 우선순위를 위로 올리면 된다. 그러면 해당 클래스를 우선순위가 높은 JRE에 있는 파일로 사용하게 된다.
properties > Java Build Path
'트러블슈팅 > SPRING' 카테고리의 다른 글
[스프링] Maven build error(Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved) (2) | 2022.10.12 |
---|---|
SVN Connector 에러(SVN: '0x0400006': Validate Repository Location) (0) | 2022.10.05 |
[스프링부트]No identifier specified for entity (0) | 2022.09.27 |
[스프링] Maven build error (0) | 2022.01.25 |
[spring] STS에서 자바 버전 문제 (0) | 2022.01.25 |