[英]Filename include slash punctuation and gives Exception in thread “main” java.io.FileNotFoundException: foo/boo/en_en.json (No such file or directory)
[英]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.