com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 404 Not Found 错误解决

错误详情:

com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 404 Not Found 

解决办法

webClient.getOptions().setThrowExceptionOnFailingStatusCode(false);

你可能感兴趣的:(Java,爬虫,HtmlUnit)