运行了好久的爬虫系统,突然发现爬取不到数据了,上服务器一查报错:
2021-08-24 10:12:10.611 [http-nio-8081-exec-1] ERROR org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/reptile].[dispatcherServlet] --- Servlet.service() for servlet [dispatcherServlet] in context with path [/reptile] threw exception [Request processing failed; nested exception is org.openqa.selenium.WebDriverException: invalid argument: can't kill an exited process
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'VM_0_18_centos', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-957.21.3.el7.x86_64', java.version: '1.8.0_201'
Driver info: driver.version: FirefoxDriver
remote stacktrace: ] with root cause
org.openqa.selenium.WebDriverException: invalid argument: can't kill an exited process
Build info: version: 'unknown', revi