gpt4 book ai didi

java - 在 Netbean 中构建 javafx 应用程序时出错(manifest.custom.codebase 属性)

转载 作者:行者123 更新时间:2023-12-02 04:52:13 25 4
gpt4 key购买 nike

每当我尝试在 Netbeans 中构建项目时,都会收到以下错误:

ant -f /Users/user/Documents/NETBEANS/MICO_L jfx-build
init:
Deleting: /Users/user/Documents/NETBEANS/MICO_L/build/built-jar.properties
deps-jar:
Updating property file: /Users/user/Documents/NETBEANS/MICO_L/build/built-jar.properties
compile:
Copied 1 empty directory to 1 empty directory under /Users/user/Documents/NETBEANS/MICO_L/dist/lib
Detected JavaFX Ant API version 1.3
Launching <fx:jar> task from /Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/../lib/ant-javafx.jar
Warning: From JDK7u25 the Codebase manifest attribute should be used to restrict JAR repurposing.
Please set manifest.custom.codebase property to override the current default non-secure value '*'.
/Users/user/Documents/NETBEANS/MICO_L/nbproject/jfx-impl.xml:3438: The following error occurred while executing this line:
/Users/user/Documents/NETBEANS/MICO_L/nbproject/jfx-impl.xml:1465: The following error occurred while executing this line:
/Users/user/Documents/NETBEANS/MICO_L/nbproject/jfx-impl.xml:3092: The following error occurred while executing this line:
/Users/user/Documents/NETBEANS/MICO_L/nbproject/jfx-impl.xml:1636: All filesets are empty.
BUILD FAILED (total time: 1 second)

这是什么原因以及如何解决?

最佳答案

这已经很旧了,但我所要做的就是重建项目。 netbeans 构建文件或其他内容中出现了困惑。我希望这会有所帮助。

关于java - 在 Netbean 中构建 javafx 应用程序时出错(manifest.custom.codebase 属性),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29114964/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com