Back to LanguageTool Homepage - Privacy - Imprint

Cannot build LT with Java 11

For future reference:

There is an error building LanguageTool with Maven and Java 11. With Java 8 the issue disappears.

I attach the stack trace given by Eclipse in the file languagetool-core/pom.xml (1.4 KB)

In the maven command line the error is:

[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] /home/jaume/github/languagetool/languagetool-core/target/generated-sources/protobuf/grpc-java/org/languagetool/languagemodel/bert/grpc/[20,18] cannot find symbol
  symbol:   class Generated
  location: package javax.annotation

Should be fixed now (

1 Like