-
-
Notifications
You must be signed in to change notification settings - Fork 184
Closed
Description
No matter the website I attempt to "login" to, it seems I'm always I'm greeted by the following error:
Error occurred during initialization of boot layer
java.lang.module.FindException: Unable to derive module descriptor for C:\Users\User\Documents\htmlunit-2.36.0\lib\xalan-2.7.2.jar
Caused by: java.lang.module.InvalidModuleDescriptorException: Provider class org.apache.bsf.BSFManager not in module
For reference, here is the code I'm using:
try (WebClient webClient = new WebClient()) {
HtmlPage page = (HtmlPage) webClient.getPage("***");
HtmlForm form = page.getFormByName("form1");
form.getInputByName("tUserName").type("Username");
form.getInputByName("tPassword").type("Password");
page = form.getInputByValue("Log In").click();
System.out.println(page.asText());
}
Metadata
Metadata
Assignees
Labels
No labels