请问解决了吗
企微微信会话存档,mac电脑引用sdk报错求助,该怎么操作 [图片] current system is Mac OS X Exception in thread "main" java.lang.UnsatisfiedLinkError: /Users/bomfish/cloudCustomer/cloud-main/src/main/resources/lib/libWeWorkFinanceSdk_Java.so: dlopen(/Users/bomfish/cloudCustomer/cloud-main/src/main/resources/lib/libWeWorkFinanceSdk_Java.so, 1): no suitable image found. Did find: /Users/bomfish/cloudCustomer/cloud-main/src/main/resources/lib/libWeWorkFinanceSdk_Java.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00 /Users/bomfish/cloudCustomer/cloud-main/src/main/resources/lib/libWeWorkFinanceSdk_Java.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00 at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1934) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1817) at java.lang.Runtime.load0(Runtime.java:809) at java.lang.System.load(System.java:1086) at com.tencent.wework.Finance.<clinit>(Finance.java:141) at com.xbongbong.cloud.util.WeChatMsgUtilDemo.main(WeChatMsgUtilDemo.java:43)
2022-01-21遇到了一样的问题,请问楼主解决了吗
调用企业微信接口,需要加载libWeWorkFinanceSdk-Java报错?https://work.weixin.qq.com/api/doc/90000/90135/91774#%E6%95%B4%E4%BD%93%E6%B5%81%E7%A8%8B (1)执行命令,java -jar ./WeWorkFinanceSdk.jar 1 0 100 -Djava.library.path=/home/wechat/solib/ (2)java.library.path的有效目录是/home/wechat/solib/:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib (3)libWeWorkFinanceSdk_Java.so放在/home/wechat/solib/目录下 (4)在windods环境下初始化sdk能够成功,但是切换到linux环境的时候,始终报错,错误信息如下 Exception in thread "main" java.lang.UnsatisfiedLinkError: no WeWorkFinanceSdk in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860) at java.lang.Runtime.loadLibrary0(Runtime.java:871) at java.lang.System.loadLibrary(System.java:1124) at com.tencent.wework.Finance.<clinit>(Finance.java:126) at com.company.Main.main(Main.java:45)
2022-01-20