编译时The method is undefined for the type 报错

问题描述 :   项目使用 1.jdk1.8 2.maven管理引入很多第三方jar包依赖其中xml-apis.jar文件中自带了2002年的org.w3c.dom的jar文件(该jar文件中的Node接口没有getTextContent() ); 使用 org.w3c.dom.Node(在jdk的 rt.jar  中 原生api ) 报出 The method dosonme() is unde
相关文章
相关标签/搜索