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



每当我试图在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构建文件中出现了问题。我希望这能有所帮助。

最新更新