0
public static void main(String[] args) throws
FailingHttpStatusCodeException, MalformedURLException,IOException,
InterruptedException {
final ActiveXComponent activeXComponent = new ActiveXComponent("CLSID:0CA54D3F-CEAE-48AF-9A2B-31909CB9515D");
WebClient webClient = new WebClient(BrowserVersion.INTERNET_EXPLORER);
webClient.getOptions().setThrowExceptionOnScriptError(false);
webClient.getOptions().setActiveXNative(true);
// https://pbsz.ebank.cmbchina.com/CmbBank_GenShell/UI/GenShellPC/Login/Login.aspx
HtmlPage page = webClient.getPage("https://pbsz.ebank.cmbchina.com/CmbBank_GenShell/UI/GenShellPC/Login/LoginOLD.aspx");
System.out.println(page.asXml()); }
enter image description here活動的HtmlUnit負載例外
異常線程 「main」 com.jacob.com.ComFailException:找不到綽號
我通過C:\Windows\System32\CMBEdit.dll Still not feasible
這就是我所做的,但它並沒有幫助 – caoheike