Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/321.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 解析XML时应用程序施加的限制_Java_Xml_Parsing_Xml Parsing - Fatal编程技术网

Java 解析XML时应用程序施加的限制

Java 解析XML时应用程序施加的限制,java,xml,parsing,xml-parsing,Java,Xml,Parsing,Xml Parsing,我正在使用EclipseJuno解析一个巨大的XML文件。它解析其中的几行,然后生成以下异常: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; The parser has encountered more than "64,000" entity expansions in this document; this is the limit imposed by the application. 我现在该怎么办?我想

我正在使用EclipseJuno解析一个巨大的XML文件。它解析其中的几行,然后生成以下异常:

org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; The parser has encountered more than "64,000" entity expansions in this document; this is the limit imposed by the application.
我现在该怎么办?我想到的一个解决方案是将XML拆分为多个小XML文件,但我也找不到任何解决方案。 你可以看到我的代码


任何帮助都将不胜感激。谢谢

你为什么要提出一个新问题?你可以编辑链接的那个!抱歉,我认为这可能会造成混乱。您使用的是什么JDK。OpenJDK或OracleJDKSee(如果有帮助):我使用的是oraclejdkversion1.7