1

我有一个使用 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

……还有更多……

我怎样才能阻止它们并减少编译时间?谢谢。

4

1 回答 1

6

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

于 2013-08-05T00:30:38.580 回答