Expected '.class'
The compiler detected usage of an intrinsic type name in an expression or assignment statement but did not find .class after the name. This error usually occurs when the .class keyword is omitted. Add the .class extension to the end of the intrinsic type and compile again.
The following example illustrates this error:
public class Simple{
public static void main (String args[]){
Class x = int;//error: missing '.class'
}
}