我正在尝试构建一个几周前运行良好的 Install4j 项目,但现在它抱怨在签署可执行文件时时间戳服务不可用。我们应该使用其他时间戳服务还是只是暂时离线?
我使用的是 Install4j 7.0.12。
Preparing configuration
Creating media file 'Windows':
Collecting files:
Compiling launchers:
Compiling launcher 'test':
Signing executable
Build failed.
Cause: java.io.IOException
http://timestamp.globalsign.com
You can set a different timestamp signing service by setting the VM parameter -Dinstall4j.timestampUrl=http://... in bin/install4j.vmoptions
or by setting the compiler variable sys.ext.timestampUrl in your project.
Cause: java.io.FileNotFoundException
http://timestamp.globalsign.com
答案 0 :(得分:2)
在General Settings > Compiler Variables 中添加一个条目,其中包含以下详细信息似乎可以解决问题:
sys.ext.timestampUrl = http://timestamp.sectigo.com
这可能与http://timestamp.verisign.com/scripts/timstamp.dll not available有关。