Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/maven/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/unix/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java Jetty 9.1.2 Https连接器Selenium maven测试在Jenkins中失败_Java_Maven_Selenium_Jetty - Fatal编程技术网

Java Jetty 9.1.2 Https连接器Selenium maven测试在Jenkins中失败

Java Jetty 9.1.2 Https连接器Selenium maven测试在Jenkins中失败,java,maven,selenium,jetty,Java,Maven,Selenium,Jetty,我在pom.xml中有以下jetty maven插件配置- <artifactId>jetty-maven-plugin</artifactId> <version>9.1.2.v20140210</version> <configuration> <!-- Added for https connector -->

我在pom.xml中有以下jetty maven插件配置-

<artifactId>jetty-maven-plugin</artifactId>
            <version>9.1.2.v20140210</version>
            <configuration>
                <!-- Added for https connector -->
                <jettyXml>${project.basedir}/jetty.xml,
jetty-  http.xml,jetty-ssl.xml,jetty-https.xml</jettyXml>
我已从中复制了所有jetty XML- 并将https连接器端口更改为19854。 我已经为https协议和19854端口配置了selenium测试,它们使用firefox webdriver在本地运行,没有任何问题

问题- 1) 当我不发送maven参数-Djetty.port时,它使用默认端口8080,无法启动jetty,错误-port已经在使用中

2) 当我指定端口时,我会在Jenkins中看到下面的内容- 詹金斯打开了http和https-

Started ServerConnector@7eb879b8{HTTP/1.1}{0.0.0.0:12854}

INFO:oejs.ServerConnector:pool-1-thread-1 for channel: 
Started   ServerConnector@56eafbb4{SSL-http/1.1}{0.0.0.0:19854}
但是测试失败了——错误如下

WARN:oejh.HttpParser:qtp2005308873-112: badMessage: 400 
Illegal   character for HttpChannelOverHttp@1bf94c90{r=0,a=IDLE,uri=-}
我在jenkins测试日志中看到了下面的url-

https://localhost:12854/
应该在哪里

https://localhost:19854/
我怎样才能在詹金斯工作? 我感谢你的帮助

https://localhost:19854/