错误:
Exception in thread "main"
org.jinterop.dcom.common.JIException: Access is denied,
please check whether the [domain-username-password] are correct. Also,
if not already done please check the GETTING STARTED and FAQ sections in readme.htm.
They provide information on how to correctly configure the Windows machine for DCOM access, so as to avoid such exceptions.
[0x00000005]
排查,
确定账户密码正确。
本地安全策略设置网络访问
修改为:
第二个错误:
信息:
Recieved RESPONSE
Exception in thread "main" org.jinterop.dcom.common.JIException:
The RPC server is unavailable.
Please check if the COM server is up and running and that route to the COM Server is accessible
(A simple "Ping" to the Server machine would do).
Also please confirm if the Windows Firewall is not blocking DCOM access.
[0x800706BA]
通过错误日志可知:
错误原因有两个:
1.RPC服务器不可用
2.请确认Windows防火墙是否未阻止DCOM访问
没解决办法,我直接把防火墙关闭了。以后再确认问题吧