Javafx 2 无法为Netbeans RCP应用程序生成OSGi捆绑包

Javafx 2 无法为Netbeans RCP应用程序生成OSGi捆绑包,javafx-2,osgi,netbeans-platform,osgi-bundle,Javafx 2,Osgi,Netbeans Platform,Osgi Bundle,当我尝试构建Netbeans RCP应用程序(例如:提供的示例提要阅读器应用程序)的OSGi捆绑包时,会出现以下错误: [error] Exception in thread "main" /opt/developer/netbeans-8.0/harness/suite.xml:545: The following error occurred while executing this line: [error] /opt/developer/netbeans-8.0/harness/osgi

当我尝试构建Netbeans RCP应用程序(例如:提供的示例提要阅读器应用程序)的OSGi捆绑包时,会出现以下错误:

[error] Exception in thread "main" /opt/developer/netbeans-8.0/harness/suite.xml:545: The following error occurred while executing this line:
[error] /opt/developer/netbeans-8.0/harness/osgi.xml:63: Could not prescan /opt/developer/netbeans-8.0/platform/modules/org-netbeans-libs-javafx.jar:
java.io.IOException: Unrecognized constant pool tag 18 at index 18; running UTF-8 strings: blah blah blah ...
环境:

  • 德比安·杰西
  • JDK1.8.0_45

证明JavaFX是罪魁祸首

您可以禁用模块JavaFX包装器,如下所示:

Projects/Feed Runner Application
  -> Properties
    -> Libraries
      -> (platform)
        -> (JavaFX wrapper)   [ ] included  (i.e: not included!)