Problem scenario
You try to compile a Java program with a javac command. You get this error:
special.java:39: error: cannot find symbol
symbol: class foo
location: class bar
What should you do?
Possible solution
In some cases you need a keyword “new”, but in other cases you need to not have the keyword “new”.
Are you using the word “new” to the right of an equals sign “=”?
…
Continue reading “How Do You Troubleshoot the Java Compilation Error “cannot find symbol”?”