title: java.lang.NoSuchMethodError: org.openqa.selenium.os.CommandLine.find(Ljava/lang/String;)Ljava/lang/String; while using PhantomJS 2.1.1 with Selenium
body: <p>OS - Windows 7</p>
  
  <p>PhantomJS version - 2.1.1</p>
  
  <p>Selenium - 3.8.1(selenium-server).</p>
  
  <p>JDK - 152.</p>
  
  <p>I'm trying to run simple test, using PhantomJS: </p>
  
  <p>1) initializing the driver:</p>
  
  <pre><code>System.setProperty("phantomjs.binary.path","src\\main\\resources\\phantomjs.exe");
  WebDriver driver = new PhantomJSDriver();
  </code></pre>
  
  <p>2) any test, let it be verifying text "welcome" on en.wikipedia.org:</p>
  
  <pre><code>driver.get("http://en.wikipedia.org");
  System.out.println(driver.findElement(By.xpath("//div[contains(text(),'Welcome')]")).isDisplayed());
  </code></pre>
  
  <p>3) Running test, but receiving errors:</p>
  
  <pre><code>Exception in thread "main" java.lang.NoSuchMethodError: org.openqa.selenium.os.CommandLine.find(Ljava/lang/String;)Ljava/lang/String;
      at org.openqa.selenium.phantomjs.PhantomJSDriverService.findPhantomJS(PhantomJSDriverService.java:232)
      at org.openqa.selenium.phantomjs.PhantomJSDriverService.createDefaultService(PhantomJSDriverService.java:181)
      at org.openqa.selenium.phantomjs.PhantomJSDriver.&lt;init&gt;(PhantomJSDriver.java:104)
      at org.openqa.selenium.phantomjs.PhantomJSDriver.&lt;init&gt;(PhantomJSDriver.java:94)
  </code></pre>
  
  <p>Googling showed, that such troubles occur time to time (non-compatible selenium/PhantomJS).
  Question: is there any workaround for making last selenium(s) and 2.1.1 PhantomJS good friends?</p>
  
  <p>note: any other driver works fine (edge, chrome, ff).</p>