我正在尝试构建我的应用,但我有下一个错误。
jar libs \ jna-4.1.0.jar有一个主类com.sun.jna.Native,它与声明的主com.bp.ocr.MainApp
不匹配我不知道如何解决它,我正在寻找,但我不明白为什么会发生。
Using base JDK at: C:\Program Files\Java\jdk1.8.0_31\jre
The jar libs\jna-4.1.0.jar has a main class com.sun.jna.Native that
does not match the declared main com.bp.ocr.MainApp
Bundler EXE Installer skipped because of a configuration problem:
Main application jar is missing.
Advice to fix: Make sure to use fx:jar task to create main application jar.
BUILD SUCCESSFUL