This seems to be an error related to htmlunit. Is this a problem in my configuration? I have switched to building gwt-maven-plugin from HEAD and also the latest gwt sources. I think htmlunit is embedded in gwt? I don't see it as a maven dependency that I might be able to switch out, so I figured changing the htmlunit version would be barking up the wrong tree. Has anyone seen this error? I googled and found:
https://sourceforge.net/p/htmlunit/bugs/1692/Any help would be appreciated.
[INFO] 11:21:56.792 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - STARTED @4179ms com.google.gwt.junit.server.JUnitHostImpl-45905bff@79afea95==com.google.gwt.junit.server.JUnitHostImpl,-1,false
[INFO] Ignored 65 units with compilation errors in first pass.
[INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
[INFO] Starting
http://localhost:64613/us.heptet.magewars.webapp.WebApp.JUnit/junit.html?gwt.codesvr=localhost:64611 on browser Chrome
[ERROR] Exception in thread "htmlUnit client thread" java.lang.IllegalArgumentException: Cannot locate declared field class org.apache.http.impl.client.HttpClientBuilder.sslContext
[ERROR] at org.apache.commons.lang3.Validate.isTrue(Validate.java:155)
[ERROR] at org.apache.commons.lang3.reflect.FieldUtils.readDeclaredField(FieldUtils.java:471)
[ERROR] at com.gargoylesoftware.htmlunit.HttpWebConnection.createConnectionManager(HttpWebConnection.java:951)
[ERROR] at com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse(HttpWebConnection.java:159)
[ERROR] at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1324)
[ERROR] at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1241)
[ERROR] at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:348)
[ERROR] at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:417)
[ERROR] at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:402)
[ERROR] at com.google.gwt.junit.RunStyleHtmlUnit$HtmlUnitThread.run(RunStyleHtmlUnit.java:141)
[INFO] 11:22:25.678 [org.eclipse.jetty.server.session.HashSessionManager@4229bb3fTimer] DEBUG org.eclipse.jetty.server.session - Scavenging sessions at 1468174945678
[INFO] 11:22:55.681 [org.eclipse.jetty.server.session.HashSessionManager@4229bb3fTimer] DEBUG org.eclipse.jetty.server.session - Scavenging sessions at 1468174975681
[INFO] Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 76.488 sec <<< FAILURE!