import com.gargoylesoftware.htmlunit.WebClient;
public class Main {
public static void main(String[] args) throws Exception {
WebClient webClient = new WebClient();
HtmlPage page = webClient.getPage("http://www.google.com");
}
}
But I received the following error:
Error:(6, 9) java: cannot find symbol symbol: class WebClient location: class Main
I tried to search for the error on the web. I got 404.