Top/Eclipse/エラー:The project was not built due to Could not delete...

Eclipse/エラー:The project was not built due to Could not delete... のバックアップの現在との差分(No.1)


  • 追加された行はこの色です。
  • 削除された行はこの色です。
//Eclipse/エラー:The project was not built due to Could not delete...
Eclipseでビルドする際、以下のようなエラーが出て、ビルドが進まないことがあります。
(クリーンもできません。)

 The project was not built due to "Could not delete 'xxx.properties'.". 
 Fix the problem, then try refreshing this project and building it since it may be inconsistent
 The project was not built due to "Could not delete 'C:\workspace\...\xxx.properties'.". 
 Fix the problem, then try refreshing this project and building it 
 since it may be inconsistent

該当のファイル(上記では「xxx.properties」)をどこかのプログラムがロックして削除できないことが原因です。以下の手順で復旧可能です。
該当のファイル(上記では「C:\workspace\...\xxx.properties」)をどこかのプログラムがロックして削除できないことが原因です。以下の手順で復旧可能です。

+ファイルのパスをどこかにメモしておく。
+Eclipseをいったん終了する。(Eclipse自身がファイルをロックしている可能性が高いため。)
+上記のファイルを削除する。
+再度Eclipseを起動する。
+クリーンとビルドを行う。、
+クリーンとビルドを行う。


ページ新規作成

新しいページはこちらから投稿できます。

TOP