Java 生成jar文件时,Bluecove intelbth_x64和Bluecove_x64不可用

Java 生成jar文件时,Bluecove intelbth_x64和Bluecove_x64不可用,java,intellij-idea,javafx,bluetooth,bluecove,Java,Intellij Idea,Javafx,Bluetooth,Bluecove,我正在使用Intellij开发一个JavaFX应用程序,它使用BlueCove 2.1.0库。在使用IDE编译时,它工作得非常好,但由于某些原因,在使用依赖项构建工件并运行它时,我会遇到以下异常: Native Library bluecove_x64 not available javax.bluetooth.BluetoothStateException: BlueCove libraries not available at com.intel.bluetooth.BlueCov

我正在使用Intellij开发一个JavaFX应用程序,它使用
BlueCove 2.1.0
库。在使用IDE编译时,它工作得非常好,但由于某些原因,在使用依赖项构建工件并运行它时,我会遇到以下异常:

Native Library bluecove_x64 not available

javax.bluetooth.BluetoothStateException: BlueCove libraries not available
    at com.intel.bluetooth.BlueCoveImpl.createDetectorOnWindows(BlueCoveImpl.java:896)
    at com.intel.bluetooth.BlueCoveImpl.detectStack(BlueCoveImpl.java:439)
    at com.intel.bluetooth.BlueCoveImpl.access$500(BlueCoveImpl.java:65)
    at com.intel.bluetooth.BlueCoveImpl$1.run(BlueCoveImpl.java:1020)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.intel.bluetooth.BlueCoveImpl.detectStackPrivileged(BlueCoveImpl.java:1018)
    at com.intel.bluetooth.BlueCoveImpl.getBluetoothStack(BlueCoveImpl.java:1011)
    at javax.bluetooth.LocalDevice.getLocalDeviceInstance(LocalDevice.java:75)
    at javax.bluetooth.LocalDevice.getLocalDevice(LocalDevice.java:95)
    at mbe.td2015.projectqanda.WaitThread.waitForConnection(WaitThread.java:62)
    at mbe.td2015.projectqanda.WaitThread.run(WaitThread.java:44)
    at java.lang.Thread.run(Unknown Source)

这可能对将来的人有所帮助。。