海康SDK注册报错 Structure.getFieldOrder() on class com.xxx.sdk.HCNetSDK$NET_DVR_DEVICEINFO_V30 does not provide enough names [0]

Structure.getFieldOrder() on class com.xxx.sdk.HCNetSDK$NET_DVR_DEVICEINFO_V30 does not provide enough names [0]

 海康依赖的版本较低,项目引用的较高,导致海康注册报错,所以降低jna版本

 

<dependency>
    <groupId>net.java.dev.jna</groupId>
    <artifactId>jna</artifactId>
    <version>3.0.9</version>
</dependency>

 

 

 

 

 

 

 

 借鉴:https://blog.csdn.net/simplyou/article/details/120482482

 

posted @ 2023-06-15 10:20  何童鞋  阅读(909)  评论(0编辑  收藏  举报