opc对接时候,addGroup时候异常
{
"code": 500,
"message": "Handler dispatch failed; nested exception is java.lang.IllegalAccessError: tried to access method org.openscada.opc.lib.da.Group.(Lorg/openscada/opc/lib/da/Server;ILorg/openscada/opc/dcom/da/impl/OPCGroupStateMgt;)V from class org.openscada.opc.lib.da.Server",
"url": "/opcRead"
}
该回答引用NewBing
你好,这是Bing。😊
根据网上的一些资料①②③,这个异常可能是由于以下原因导致的:
你可以尝试以上的方法看是否能解决问题。如果还有其他问题,请告诉我。
源: 与必应的对话, 2023/2/26
(1) 使用C# 调用OPCAccess.dll访问OPC 报错AddGroup. https://blog.csdn.net/weixin_43991899/article/details/92572049 访问时间 2023/2/26.
(2) OPC使用过程中错误_一缕阳光宣泄、整个世界的博客-CSDN博客_addgroup拒绝访问. https://blog.csdn.net/qq_40565735/article/details/106310920 访问时间 2023/2/26.
(3) opc链接添加组的时候异常-编程语言-CSDN问答. https://ask.csdn.net/questions/7873067 访问时间 2023/2/26.