嗨,我正在尝试通过使用JACOB来处理示例。我下载了JACOB并将这两个文件jacob.dll和jacob.jar放在jdk bin和lib文件夹中。但是仍然出现以下错误。如何解决?
Caught: com.jacob.com.ComFailException: Can't co-create
objectcom.jacob.com.ComFailException: Can't co-create object
at com.jacob.com.Dispatch.createInstanceNative(Native Method)
at com.jacob.com.Dispatch.<init>(Dispatch.java:101)
at com.jacob.activeX.ActiveXComponent.<init>(ActiveXComponent.java:58)
at SAPGUIScriptingLogon.main(sample.groovy:28)