Search code examples
javaspell-checkingspelling

org.xeustechnologies.googleapi.spelling.SpellCheckException: java.io.FileNotFoundException: https://www.google.com/tbproxy/spell?lang=en&hl=en


I'm using google-speller-api.jar it throws exception

org.xeustechnologies.googleapi.spelling.SpellCheckException: java.io.FileNotFoundException: https://www.google.com/tbproxy/spell?lang=en&hl=en

Here is my code

SpellChecker spellChecker=new SpellChecker();
spellChecker.setLanguage(Language.ENGLISH);


SpellRequest spellRequest=new SpellRequest();
spellChecker.setOverHttps(true);
spellRequest.setText("aple");

SpellResponse spellResponse=spellChecker.check(spellRequest);

Solution

  • Google discontinued this service thats why you are getting 404 error since that service is not available.

    Check this issue report