Skip to content

Commit b9468a2

Browse files
committed
pom.xml: downgrade Selenium to 2.45.0
Selenium 2.46.0 requires htmlunit 2.17 and httpclient 4.5 but htmlunit doesn't work well with httpclient 4.5. So, I downgraded Selenium to use previous release that depends on older htmlunit. Fix the following exception during integration tests: NoClassDefFoundError: org/apache/http/conn/ssl/NoopHostnameVerifier
1 parent 4c8eda8 commit b9468a2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pom.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@
1818

1919
<properties>
2020
<lombok.version>1.14.8</lombok.version>
21-
<selenium.version>2.46.0</selenium.version>
21+
<!--
22+
Fix NoClassDefFoundError: org/apache/http/conn/ssl/NoopHostnameVerifier
23+
Stick to version 2.45.0 until htmlunit will be fixed to work with httpclient 4.5 (see below).
24+
-->
25+
<selenium.version>2.45.0</selenium.version>
2226
<subethasmtp.version>3.1.7</subethasmtp.version>
2327
<aspectj.version>1.8.5</aspectj.version>
2428
<javax.validation.version>1.1.0.Final</javax.validation.version>

0 commit comments

Comments
 (0)