The parser has encountered more than “64000” entity expansions in this document; this is the limit imposed by the JDK.

I faced this problem when I used SAX XML parser to convert XML to SQLite database. I solved this problem in this way:
1. On Eclipse IDE, right click on your project. Select ‘Run as’ and ‘Run configurations’

64000

2.Now open arguments tab, enter ‘-DentityExpansionLimit=2500000’ into VM arguments

64000-1

That’s it! Happy coding!