如何在netbeans中的java fxml应用程序中删除编译时的警告

时间:2013-08-02 07:48:54

标签: java javafx-2 javafx fxml javafx-8

我有一个使用fxml和JavaFX Scene Builder 1.1的JavaFX应用程序。当我在Netbeans中编译项目时,它会为项目中包含的每个jar文件发出警告,这使得编译需要更多时间。 例如:

Warning: 
The signer certificate will expire within six months.
Enter Passphrase for keystore: Enter key password for nb-jfx: 
Signing JAR: E:\Project\Client\Development\Mednet\dist\lib\activation.jar to E:\Project\Client\Development\Mednet\dist\lib\activation.jar as nb-jfx

Warning: 
The signer certificate will expire within six months.
Enter Passphrase for keystore: Enter key password for nb-jfx: 
Signing JAR: E:\Project\Client\Development\Mednet\dist\lib\antlr-2.7.7.jar to E:\Project\Client\Development\Mednet\dist\lib\antlr-2.7.7.jar as nb-jfx

Warning: 
The signer certificate will expire within six months.
Enter Passphrase for keystore: Enter key password for nb-jfx: 
Signing JAR: E:\Project\Client\Development\Mednet\dist\lib\asm-3.1.jar to E:\Project\Client\Development\Mednet\dist\lib\asm-3.1.jar as nb-jfx

Warning: 
The signer certificate will expire within six months.
Enter Passphrase for keystore: Enter key password for nb-jfx: 
Signing JAR: E:\Project\Client\Development\Mednet\dist\lib\dom4j-1.6.1.jar to E:\Project\Client\Development\Mednet\dist\lib\dom4j-1.6.1.jar as nb-jfx

Warning: 
The signer certificate will expire within six months.
Enter Passphrase for keystore: Enter key password for nb-jfx: 
Signing JAR: E:\Project\Client\Development\Mednet\dist\lib\hibernate-commons-annotations-4.0.2.Final.jar to E:\Project\Client\Development\Mednet\dist\lib\hibernate-commons-annotations-4.0.2.Final.jar as nb-jfx

Warning: 
The signer certificate will expire within six months.
Enter Passphrase for keystore: Enter key password for nb-jfx: 
Signing JAR: E:\Project\Client\Development\Mednet\dist\lib\hibernate-core-4.2.2.Final.jar to E:\Project\Client\Development\Mednet\dist\lib\hibernate-core-4.2.2.Final.jar as nb-jfx

......等等......

如何阻止它们并缩短编译时间? 谢谢。

1 个答案:

答案 0 :(得分:6)

您可以转到属性>构建>部署,然后取消选中请求无限制访问(启用签名)的复选框