NetBeans 7.0.1清理并构建清单错误

时间:2015-01-16 14:08:47

标签: netbeans build manifest

我正在为我的课做一个项目,我需要创建一个.jar文件,以便它可以分发。虽然,当我点击清理和构建时,它给了我一个错误:

init:
deps-clean:
Updating property file: /Users/User/Desktop/School/Grade 11 (14 - 15)/Semester 1/01_ICS3UV/Unit 4/Programs/DevonDeruchie-ICS3UV/DevonDeruchie-G9Integer/build/built-clean.properties
Deleting directory /Users/User/Desktop/School/Grade 11 (14 - 15)/Semester 1/01_ICS3UV/Unit 4/Programs/DevonDeruchie-ICS3UV/DevonDeruchie-G9Integer/build
clean:
init:
deps-jar:
Created dir: /Users/User/Desktop/School/Grade 11 (14 - 15)/Semester 1/01_ICS3UV/Unit 4/Programs/DevonDeruchie-ICS3UV/DevonDeruchie-G9Integer/build
Updating property file: /Users/User/Desktop/School/Grade 11 (14 - 15)/Semester 1/01_ICS3UV/Unit 4/Programs/DevonDeruchie-ICS3UV/DevonDeruchie-G9Integer/build/built-jar.properties
Created dir: /Users/User/Desktop/School/Grade 11 (14 - 15)/Semester 1/01_ICS3UV/Unit 4/Programs/DevonDeruchie-ICS3UV/DevonDeruchie-G9Integer/build/classes
Created dir: /Users/User/Desktop/School/Grade 11 (14 - 15)/Semester 1/01_ICS3UV/Unit 4/Programs/DevonDeruchie-ICS3UV/DevonDeruchie-G9Integer/build/empty
Compiling 14 source files to /Users/User/Desktop/School/Grade 11 (14 - 15)/Semester 1/01_ICS3UV/Unit 4/Programs/DevonDeruchie-ICS3UV/DevonDeruchie-G9Integer/build/classes
Note: /Users/User/Desktop/School/Grade 11 (14 - 15)/Semester 1/01_ICS3UV/Unit 4/Programs/DevonDeruchie-ICS3UV/DevonDeruchie-G9Integer/src/zzTeacherGUIPackage/TeacherLockGUI.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/User/Desktop/School/Grade 11 (14 - 15)/Semester 1/01_ICS3UV/Unit 4/Programs/DevonDeruchie-ICS3UV/DevonDeruchie-G9Integer/src/zzTeacherGUIPackage/MarksAppGUI.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Copying 1 file to /Users/User/Desktop/School/Grade 11 (14 - 15)/Semester 1/01_ICS3UV/Unit 4/Programs/DevonDeruchie-ICS3UV/DevonDeruchie-G9Integer/build/classes
compile:
Created dir: /Users/User/Desktop/School/Grade 11 (14 - 15)/Semester 1/01_ICS3UV/Unit 4/Programs/DevonDeruchie-ICS3UV/DevonDeruchie-G9Integer/dist
Copying 1 file to /Users/User/Desktop/School/Grade 11 (14 - 15)/Semester 1/01_ICS3UV/Unit 4/Programs/DevonDeruchie-ICS3UV/DevonDeruchie-G9Integer/build
/Users/User/Desktop/School/Grade 11 (14 - 15)/Semester 1/01_ICS3UV/Unit 4/Programs/DevonDeruchie-ICS3UV/DevonDeruchie-G9Integer/nbproject/build-impl.xml:676: Existing manifest /Use  rs/User/Desktop/School/Grade 11 (14 - 15)/Semester 1/01_ICS3UV/Unit 4/Programs/DevonDeruchie-ICS3UV/DevonDeruchie-G9Integer/build/null1454207832 is invalid
BUILD FAILED (total time: 5 seconds)

我不知道这意味着什么或如何解决它...请帮助我。另外,我可以补充一点,我在netbeans中创建了一个时钟,干净和构建过程完美无缺,但这总是会出错。还有,是因为我从个人电脑笔记本电脑换成了MacBook Pro吗?

1 个答案:

答案 0 :(得分:0)

在我查看了第676行的build-impl.xml文件后,我进一步阅读了错误代码,并提到了nullxxx文件(THATS THE MANIFEST :))。我编辑了清单以添加启动画面但忘了它。我添加的代码是在错误的地方。当它在中间位置时,它处于最底层!希望这个人能够以同样的方式帮助其他人。