Eclipse使用遇到的问题解决方法收集

Resolving spurious project errors in Eclipse

Opening a workspace with several projects, I was presented with the following error for two of the projects:

The project cannot be built until the build path errors are resolved.

The resolution was to force a resave of the selected projects (and their .classpath files):

  1. Open the project properties
  2. Select Java Build Path > Libraries
  3. Add a new, arbitrary library (to be deleted later) > OK
  4. Wait for the workspace to refresh (or force a refresh of the project)
  5. The error(s) will go away
  6. Remove the dummy library

The only other references I could find were to make minor alterations of contents of the .classpath file.

from http://www.scottdstrader.com/blog/ether_archives/000921.html

posted @ 2010-04-19 12:30  心梦帆影  阅读(217)  评论(0编辑  收藏  举报