Java-Opencv(chromedriver) Forwarding newSession on session null to remote 解决方案

reyoreyoreyo 2021-02-03 12:27:32
环境:tomcat9.0.x+jdk 1.8.x +opencv 451 + chrome 88.0.4324.104 在本机运行正常,放到阿里云服务器就报错!!!

效果:chrome浏览器一打开就自动关闭了.....



以下是本机运行提示

Starting ChromeDriver 88.0.4324.96 (68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784}) on port 28388
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
二月 03, 2021 11:54:22 上午 org.openqa.selenium.remote.ProtocolHandshake createSession
信息: Detected dialect: W3C



阿里云服务器就报错

Starting ChromeDriver 88.0.4324.96 (68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784}) on port 28388
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
org.openqa.selenium.remote.ProtocolHandshake createSession(无这一行,且显示了下面这行)

二月 03, 2021 11:56:22 上午 信息:[Forwarding newSession on session null to remote] org.openqa.selenium.remote.ProtocolHandshake.createSession Detected dialect: W3C
...全文
307 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

81,094

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧