Java htmlunit活动加载异常

Java htmlunit活动加载异常,java,htmlunit,jacob,Java,Htmlunit,Jacob,线程“main”com.jacob.com.ComFailException中的异常:找不到名字对象 我通过了C:\Windows\System32\CMBEdit.dll仍然不可行更新: 这是一个问题,因为例外情况是: public static void main(String[] args) throws FailingHttpStatusCodeException, MalformedURLException,IOException, InterruptedException {

线程“main”com.jacob.com.ComFailException中的异常:找不到名字对象


我通过了
C:\Windows\System32\CMBEdit.dll仍然不可行
更新:

这是一个问题,因为例外情况是:

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()); }
在dll上


我就是这么做的,但没用
Exception in thread "main" com.jacob.com.ComFailException: Can't find moniker
    at com.jacob.com.Dispatch.createInstanceNative(Native Method)
    at com.jacob.com.Dispatch.<init>(Dispatch.java:99)
    at com.jacob.activeX.ActiveXComponent.<init>(ActiveXComponent.java:58)
    at test.test.JacobTest.main(JacobTest.java:24)
regsvr32 mycomdll.dll