在 Java 中使用 tika...如何解决 'java.io.IOException'
In Java to use tika... how to resolve 'java.io.IOException'
我正在使用带有 Java 的 tika 来抓取程序。为此,我使用了 BSF_Recursive。经过一些结果,它向我展示了这个...
Exception in thread "main" java.io.IOException: Server returned HTTP response code: 403 for URL: http://translate.google.com/
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
这很可能是对 DDOS 攻击的保护。
你对此无能为力。您可以捕获异常,但不会继续处理。
我正在使用带有 Java 的 tika 来抓取程序。为此,我使用了 BSF_Recursive。经过一些结果,它向我展示了这个...
Exception in thread "main" java.io.IOException: Server returned HTTP response code: 403 for URL: http://translate.google.com/
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
这很可能是对 DDOS 攻击的保护。
你对此无能为力。您可以捕获异常,但不会继续处理。