Created attachment 99263 [details]
Screen shot of IDE after failed clean build.
I am creating an application which uses 4 libraries, created also by me. All 5 projects are open in the IDE. I started experiencing problems doing a clean build of my application after renaming one of the methods in a library. I had called it "recursiveDeletee" (with two "e"s). When I changed it to "recursiveDelete" (with one "e") and then made the appropriate change in my application (I even remembered to rebuild the library using a clean build), my application could no longer be clean built due to this error...
C:\...\FileSlicer\src\com\avajavoli\fileslicer\FileAction.java:37: cannot find symbol
symbol : method recursiveDelete(java.io.File,boolean)
location: class com.avajavoli.common.util.FileUtil
However... the IDE reports no errors (no red circles in the project explorer) and the application runs perfectly fine from the IDE. The PROBLEM is that the IDE or some supporting component like ANT, or some cache somewhere, or SOMETHING is expecting the library to contain a method named "recursiveDeletee()" and when it doesn't find it it causes the clean build to fail.
There are two ways to fix this. First, rename the method to the incorrect spelling (not my preferred method). Second...
1) Uninstall the IDE
2) Uninstall the JDK
3) Delete the ".netbeans" and ".nbi" directories
4) Move the project folders
5) Reinstall everything
6) Create all the projects from scratch
7) Move the "src" folders from the original project directories to the new ones.
8) Clean build everything