簡體   English   中英

無法清理和構建Netbeans 7.1 Beta

[英]Not able to Clean and Build in Netbeans 7.1 Beta

在做干凈和構建時,我得到以下錯誤。 如何避免此錯誤。

Copying 1 file to E:\NIRAJ\Copyofcopyexample\build
E:\NIRAJ\Copyofcopyexample\nbproject\build-impl.xml:716: The following error occurred while executing this line:
E:\NIRAJ\Copyofcopyexample\nbproject\build-impl.xml:544: copylibs doesn't support the "rebase" attribute

這是build-impl.xml

<copylibs compress="${jar.compress}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" rebase="${copylibs.rebase}" runtimeclasspath="${run.classpath.without.build.classes.dir}">

我使用的是Windows 7,jdk 1.6。 以前我用Netbeans 6.9.1編譯了相同的代碼

嘗試從build-impl.xml文件中刪除rebase =“$ {copylibs.rebase}”條目。

如果您使用的是Netbeans IDE,一個簡單的解決方案就是rebase="${copylibs.rebase}" ,將引用的文件移動到原始包中,然后構建項目。 重新制作文件中的實例並使用修復導入。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM