Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CoreNLP does not work with Java 9, 10, 11 #193

Open
ppasupat opened this issue Apr 26, 2019 · 0 comments
Open

CoreNLP does not work with Java 9, 10, 11 #193

ppasupat opened this issue Apr 26, 2019 · 0 comments

Comments

@ppasupat
Copy link
Collaborator

ppasupat commented Apr 26, 2019

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.bind to the command line (does not work on Java 11)
  • Disable SUTime.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant