Webharvest HTTP执行期间发生IO错误

Webharvest HTTP执行期间发生IO错误,webharvest,Webharvest,我使用web harvest 5个月,并尝试使用以下语法获取web内容: <var-def name="raw"> <html-to-xml outputtype="pretty" usecdata="false"> <http url="${URL.toString()}" /> </html-to-xml> </var-def> 我将它绑定到另一台电脑上,它工作正常,但在我的电脑上

我使用web harvest 5个月,并尝试使用以下语法获取web内容:

<var-def name="raw">
<html-to-xml outputtype="pretty" usecdata="false">
    <http url="${URL.toString()}" />           
    </html-to-xml>      
</var-def>

我将它绑定到另一台电脑上,它工作正常,但在我的电脑上出现了此错误。

可能是防火墙或internet连接问题。请先尝试访问站点,或以管理员身份运行应用程序

同样的情况也发生在我身上,将您的java版本更新为java 8,它应该可以解决这个问题


否,它工作正常,internet连接已连接,事实上,我收到了“内存堆空间不足”错误,我对此进行了搜索,并得出结论,我应该从临时文件夹中删除webharvest.config文件。在那之后,我面临着这个错误。我在另一台具有相同互联网连接的PC上测试了它,它在那里工作。
ERROR - IO error during HTTP execution for URL: http://google.com
org.webharvest.exception.HttpException: IO error during HTTP execution for URL:    http://google.com
at org.webharvest.runtime.web.HttpClientManager.execute(Unknown Source)
at org.webharvest.runtime.processors.HttpProcessor.execute(Unknown Source)
at org.webharvest.runtime.processors.BaseProcessor.run(Unknown Source)
at org.webharvest.runtime.processors.BodyProcessor.execute(Unknown Source)
at org.webharvest.runtime.processors.BaseProcessor.getBodyTextContent(Unknown  Source)
at org.webharvest.runtime.processors.BaseProcessor.getBodyTextContent(Unknown  Source)
at org.webharvest.runtime.processors.BaseProcessor.getBodyTextContent(Unknown Source)
at org.webharvest.runtime.processors.HtmlToXmlProcessor.execute(Unknown Source)
at org.webharvest.runtime.processors.BaseProcessor.run(Unknown Source)
at org.webharvest.runtime.processors.BodyProcessor.execute(Unknown Source)
at org.webharvest.runtime.processors.VarDefProcessor.execute(Unknown Source)
at org.webharvest.runtime.processors.BaseProcessor.run(Unknown Source)
at org.webharvest.runtime.Scraper.execute(Unknown Source)
at org.webharvest.runtime.Scraper.execute(Unknown Source)
at org.webharvest.gui.ScraperExecutionThread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at  org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocke tFactory.java:140)
at  org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at  org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at  org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
... 15 more