Skip to content

webmagic-selenium 0.6.1 无法启动 #475

Description

@royal430

我在使用webmagic-selenium 0.6.1 进行异步下载的时候,报出下面的异常,看了源码,不知为何一定要读下面这个配置。如果您有时间,还请不吝赐教。谢谢

java.io.FileNotFoundException: \Users\Bingo\Documents\workspace\webmagic\webmagic-selenium\config.ini (系统找不到指定的路径。)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at java.io.FileInputStream.(FileInputStream.java:93)
at java.io.FileReader.(FileReader.java:58)
at us.codecraft.webmagic.downloader.selenium.WebDriverPool.configure(WebDriverPool.java:67)
at us.codecraft.webmagic.downloader.selenium.WebDriverPool.get(WebDriverPool.java:192)
at us.codecraft.webmagic.downloader.selenium.SeleniumDownloader.download(SeleniumDownloader.java:78)
at us.codecraft.webmagic.Spider.processRequest(Spider.java:404)
at us.codecraft.webmagic.Spider$1.run(Spider.java:321)
at us.codecraft.webmagic.thread.CountableThreadPool$1.run(CountableThreadPool.java:74)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions