Compiling with JDK 1.8 java: cannot access class file... class file not found
This issue is resolved now :). It's basically related to class path setup and only applicable for JDK 1.8.
For ex : If class 'A' has a reference to class B and class B is implementing an interface say 'C' then javac in JDK 1.8 requires both class B as well as Interface C on the class path where as prior to 1.8 only having class B on the class path was enough.
Please refer https://bugs.openjdk.java.net/browse/JDK-8055048 for more info.
Build -> Rebuild Project worked for me