sempre
sempre copied to clipboard
CoreNLP does not work with Java 9, 10, 11
This is probably due to SUTime not loading properly.
ERROR: Caused by edu.stanford.nlp.util.MetaClass$ClassCreationException: MetaClass couldn't create public edu.stanford.nlp.time.TimeExpressionExtractorImpl(java.lang.String,java.util.Properties) with args [sutime, {}]:
From https://stackoverflow.com/q/42159641 it looks like the possible solutions are:
- Don't use Java 9, 10, or 11
- Add
--add-modules java.xml.bindto the command line (does not work on Java 11) - Disable SUTime.