Compiler Error J0045
'identifier' is not a class name
The compiler detected one of the following conditions:
-
A class name provided as part of an import statement could not be found.
-
The import statement was not syntactically valid.
-
The class attempted to extend an interface. Only classes can be used with the extends statement.
-
Ensure that that the package exists and that any classes you import exist in the package specified in the import statement and compile again.
The following example illustrates this error:
package non.existent;
import non.existent; /* error: the package is not existant and cannot be
imported */
public class Simple {
// do something meaningful
}