Closed amirj closed 2 years ago
This looks slightly familiar, but I can't try it out until tomorrow. Someone has noticed your message, though.
I'm not getting the same (or any) error. However, I'm also using Java 1.8 and not 17 and the difference is quite a stretch. https://gh.lum.ai/odinson/installation.html mentions that testing is done on 1.8. I see some reflection methods in the stack and it's a library dependency that is causing the problem. I suspect that an object is being deserialized that is not compatible with the newer version of Java. So far, I have not seen anyone use Java 17 successfully and that may be why the error looks familiar.
I know 11 works as well, but I haven't tried with newer versions. @kwalcock , we might want to add that to our CI process (see https://github.com/actions/setup-java#testing-against-different-java-versions).
I can confirm that extra
doesn't work with Java 17: https://github.com/lum-ai/odinson/runs/4876015292?check_suite_focus=true
Downgrade to sbt 1.6.0-RC1 (Homebrew Java 1.8.0_312)
solved the problem. Thanks a lot.
I compiled the project successfully, create a text file in
pets/text/text_1.txt
and set the following path inextra/src/main/resources/application.conf
:odinson.dataDir = "data/pets"
Getting the following error by running
sbt "extra/runMain ai.lum.odinson.extra.AnnotateText"
:Do I need to install any third-party packages or if I missed something above?
Thanks.