Native library (win32-x86-64/xxx.dll) not found in resource path
在本地环境启动程序遇到问题,报错信息如下
Constructor threw exception; nested exception is java.lang.UnsatisfiedLinkError: Unable to load library 'xxx': Native library (win32-x86-64/xxx.dll) not found in resource path
Native library (win32-x86-64/xxx.dll) not found in resource path 不少朋友遇到的问题是在Java安装的目录下的bin目录放置对应的dll文件即可
另外尝试调整代码中Native.loadLibrary()方法写上绝对路径,程序启动任然出差
最后通过IDEA 选择 File - Project Structure 选择32位的JDK版本路径,运行Project SDK 选择1.8-32 即可