This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
If both the classes belong to the same package and you've got the import statements in place too, then the only reason why you could be facing the "Cannot resolve symbol" problem is that the compiler searches for the "imported" class file in the path specified in your "CLASSPATH". Try appending your CLASSPATH with ";.;" ,this would basically direct the compiler to search in the present working directory for the .class files too.