Getting error: java.lang.AbstractMethodError: org.languagetool.Language.getCountries()

I am getting following error while running the example given in the API documentation:

Also cannot find language-en-2.3.1.jar
on Maven Repo there is only 2.2 version available.

Exception in thread “main” java.lang.AbstractMethodError: org.languagetool.Language.getCountries()[Ljava/lang/String;
at org.languagetool.Language.getLocaleWithCountryAndVariant(Language.java:200)
at org.languagetool.ResourceBundleTools.getMessageBundle(ResourceBundleTools.java:53)

Also cannot find language-en-2.3.1.jar
on Maven Repo there is only 2.2 version available.

It’s at

Maybe your versions are mixed up, what does “mvn dependency:tree” print
out?

Regards
Daniel