LTTPP / Eemory

An Eclipse plug-in aimed at integrating Evernote within the Eclipse IDE
MIT License
7 stars 0 forks source link

JAXP00010001: The parser has encountered more than "64000" entity expansions in this document; this is the limit imposed by the JDK. #92

Open ali3assi opened 5 years ago

ali3assi commented 5 years ago

I have a big rdf file. I want to parse to parse it.

I have a maevn project when i execute my code bu mvn exec:java.

For small file the code word fine. but the problem is with big one. i get the exception:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.083 s
[INFO] Finished at: 2018-11-18T11:02:19-08:00
[INFO] Final Memory: 17M/1963M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default-cli) on project rdf4j-getting-started: An exception occured while executing the Java class. null: InvocationTargetException: JAXP00010001: The parser has encountered more than "64000" entity expansions in this document; this is the limit imposed by the JDK. [line 1, column 1] -> [Help 1]

I read that we can fix this excpetion by including the jdk.xml.entityExpansionLimit = 0 in eclispse.ini but in my case im using maven and SSH server to run my code. So how can i set this issue?