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 'xxx.properties'.". 
Fix the problem, then try refreshing this project and building it since it may be inconsistent

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

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

ページ新規作成

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

TOP