-1

I am using Selenium 3.7, firefox 56.0.2 and geckodriver-v0.19.0-win64 but I can't run my project:

System.setProperty("webdriver.gecko.driver", "E:\\geckodriver.exe");
    WebDriver driver = new FirefoxDriver();
    driver.get("http://www.toolsqa.com");

Please help me to fix this exception:

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/http/config/RegistryBuilder

7
  • 1
    Is a maven project? could you share your pom? Commented Nov 3, 2017 at 14:21
  • no, it is not maven project Commented Nov 3, 2017 at 14:25
  • then the project have no pom Commented Nov 3, 2017 at 14:27
  • 1
    So, you included manually the libraries that you need? What are? only the selenium standalone server? Commented Nov 3, 2017 at 14:40
  • 1
    Ok, so you can create another question with this other issue. Commented Nov 3, 2017 at 14:41

1 Answer 1

1

From the comments I understood that you include the libraries manually. Make sure that you included all the interested libraries in your project.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.