title: "java.lang.Error: Unresolved compilation problems" during execution Selenium tests with TestNG using Maven
body: <p>I am using Selenium with TestNG for automated testing. I am using Maven as a software project management and comprehension tool. I have all maven dependencies in my class path. Still I got Caused by: java.lang.Error: Unresolved compilation problems: </p>
  
  <p>The import org.openqa.selenium.firefox.FirefoxDriver cannot be resolved.selenium.firefox.driver jar is present in my class path same problem for other dependencies.</p>
  
  <p>How to resolve this error?</p>