getting error in testng java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableMap

selenium

getting this error

java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableMap

here is the code:

package testngpkg;

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;

import org.testng.annotations.Test;

public class firstclass {
WebDriver driver;

@Test
public void browser() {
driver = new ChromeDriver();
driver.get("http://newtours.demoaut.com/");

}
}

0
Answers

Replies

There are no replies to this topic.
 

If you want to unleash your potential in this competitive field, please visit the selenium course page for more information, where you can find the selenium tutorials and selenium frequently asked interview questions and answers as well.

 

This topic has been locked/unapproved. No replies allowed

Login to participate in this discussion.

Leave a reply

Before proceeding, please check your email for a verification link. If you did not receive the email, click here to request another.