在本地可以找的到,但是打包后在服务器上就找不到了,java/bin.和jre/bin下都放了一份还是找不到,还是报:
C:\D\Program\jdk1.8.0_91\jdk1.8.0_91\bin\WeWorkFinanceSdk.dll: Can't find dependent libraries
我明明已经放进去了。
java.lang.UnsatisfiedLinkError: C:\D\Program\jdk1.8.0_91\jdk1.8.0_91\bin\WeWorkFinanceSdk.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load0(Native Method) ~[?:?]
at java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2442) ~[?:?]
at java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2498) ~[?:?]
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2694) ~[?:?]
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:2659) ~[?:?]
at java.lang.Runtime.loadLibrary0(Runtime.java:830) ~[?:?]
at java.lang.System.loadLibrary(System.java:1873) ~[?:?]
at com.tencent.wework.Finance.<clinit>(Finance.java:126) ~[classes!/:1.0.0]
at com.example.ibe.controller.TestController.AirShopping(TestController.java:60) ~[classes!/:1.0.0]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
java.lang.UnsatisfiedLinkError: C:\D\Program\jdk1.8.0_91\jdk1.8.0_91\bin\WeWorkFinanceSdk.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load0(Native Method) ~[?:?]
at java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2442) ~[?:?]
at java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2498) ~[?:?]
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2694) ~[?:?]
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:2659) ~[?:?]
at java.lang.Runtime.loadLibrary0(Runtime.java:830) ~[?:?]
at java.lang.System.loadLibrary(System.java:1873) ~[?:?]
at com.tencent.wework.Finance.<clinit>(Finance.java:126) ~[classes!/:1.0.0]
at com.example.ibe.controller.TestController.AirShopping(TestController.java:60) ~[classes!/:1.0.0]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]