Sometimes my Eclipse (Indigo on MacOSX) does this, especially if I make changes (deleting files, moving them) to the project structure directly on the file system.
Basically, eclipse can no longer find the source folder, so it does not compile the source code, but tries to run it anyway (all without warning or a link to the problem).
To fix this, delete the original folder from the build path (= right-click the src folder in the project in the package explorer, then select “Build-path-> Remove from Build-path.” Then add it again (= right-click folder in the project in the package explorer and select “Add to build-path"). This will again make the src folder "visible" to the compiler and fix the problem.
Pezza
source share