title: Error: java: cannot access org.openqa.selenium.HasInputDevices class file for org.openqa.selenium.HasInputDevices not found
body: <p>I am trying to run my user-acceptance test cases (JBehave) via Maven but i am getting this error:</p>
  
  <pre><code>Error:(10, 8) java: cannot access org.openqa.selenium.HasInputDevices class file for org.openqa.selenium.HasInputDevices not found
  </code></pre>
  
  <p>Following shows the dependencies of the project written in Maven.</p>
  
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;org.jbehave&lt;/groupId&gt;
          &lt;artifactId&gt;jbehave-core&lt;/artifactId&gt;
          &lt;version&gt;${jbehave.core.version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.jbehave&lt;/groupId&gt;
          &lt;artifactId&gt;jbehave-core&lt;/artifactId&gt;
          &lt;version&gt;${jbehave.core.version}&lt;/version&gt;
          &lt;classifier&gt;resources&lt;/classifier&gt;
          &lt;type&gt;zip&lt;/type&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.jbehave.site&lt;/groupId&gt;
          &lt;artifactId&gt;jbehave-site-resources&lt;/artifactId&gt;
          &lt;version&gt;${jbehave.site.version}&lt;/version&gt;
          &lt;type&gt;zip&lt;/type&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.jbehave.web&lt;/groupId&gt;
          &lt;artifactId&gt;jbehave-web-selenium&lt;/artifactId&gt;
          &lt;version&gt;${jbehave.web.version}&lt;/version&gt;
          &lt;!--
          &lt;exclusions&gt;
              &lt;exclusion&gt;
                  &lt;groupId&gt;org.jbehave&lt;/groupId&gt;
                  &lt;artifactId&gt;jbehave-core&lt;/artifactId&gt;
              &lt;/exclusion&gt;
              &lt;exclusion&gt;
                  &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
                  &lt;artifactId&gt;selenium-java&lt;/artifactId&gt;
              &lt;/exclusion&gt;
          &lt;/exclusions&gt;
          --&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.seleniumhq.selenium.fluent&lt;/groupId&gt;
          &lt;artifactId&gt;fluent-selenium&lt;/artifactId&gt;
          &lt;version&gt;${fluent.selenium.version}&lt;/version&gt;
          &lt;optional&gt;true&lt;/optional&gt;
          &lt;!--
          &lt;exclusions&gt;
              &lt;exclusion&gt;
                  &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
                  &lt;artifactId&gt;selenium-java&lt;/artifactId&gt;
              &lt;/exclusion&gt;
          &lt;/exclusions&gt;
          --&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;junit&lt;/groupId&gt;
          &lt;artifactId&gt;junit-dep&lt;/artifactId&gt;
          &lt;version&gt;4.8.2&lt;/version&gt;
          &lt;!--
          &lt;exclusions&gt;
              &lt;exclusion&gt;
                  &lt;groupId&gt;org.hamcrest&lt;/groupId&gt;
                  &lt;artifactId&gt;hamcrest-core&lt;/artifactId&gt;
              &lt;/exclusion&gt;
          &lt;/exclusions&gt;
          --&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.hamcrest&lt;/groupId&gt;
          &lt;artifactId&gt;hamcrest-all&lt;/artifactId&gt;
          &lt;version&gt;1.1&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
          &lt;artifactId&gt;selenium-java&lt;/artifactId&gt;
          &lt;version&gt;${selenium.version}&lt;/version&gt;
          &lt;!--
          &lt;exclusions&gt;
              &lt;exclusion&gt;
                  &lt;groupId&gt;org.hamcrest&lt;/groupId&gt;
                  &lt;artifactId&gt;hamcrest-core&lt;/artifactId&gt;
              &lt;/exclusion&gt;
          &lt;/exclusions&gt;
          --&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.jbehave&lt;/groupId&gt;
          &lt;artifactId&gt;jbehave-spring&lt;/artifactId&gt;
          &lt;version&gt;${jbehave.core.version}&lt;/version&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>Please kindly figure out causes and their solutions. If you guys need more information about the project, please kindly let me know.</p>