Back to LanguageTool Homepage - Privacy - Imprint

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


(Karan Dubal) #1

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)


(Daniel Naber) #2

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

It's at
http://search.maven.org/#artifactdetails|org.languagetool|language-en|2.3.1|jar

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

Regards
Daniel