How-to articles, tricks, and solutions about CANNOT-FIND-SYMBOL

What does a "Cannot find symbol" or "Cannot resolve symbol" error mean?

A "Cannot find symbol" or "Cannot resolve symbol" error in Java means that the compiler cannot find a symbol (such as a class, method, or variable) that it needs to complete the compilation. This can happen for a variety of reasons, including: