簡體   English   中英

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

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

我正在使用google-speller-api.jar引發異常

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

這是我的代碼

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


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

SpellResponse spellResponse=spellChecker.check(spellRequest);

Google停止了此服務,這就是為什么您收到404錯誤的原因,因為該服務不可用。

查看此問題報告

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM