Ambiguous import of class 'identifier' from more than one package
The compiler detected two or more import statements attempting to import identical class names from different packages. This error usually occurs when two packages contain duplicate classes and both packages are imported into the same source file. Check the packages imported into the source file for duplicate classes. Remove the duplicate class from one of the packages or remove one of the import statements from the source file.
The following example illustrates this error:
import Box.Test; //This package contains a class named 'Test'
import Carton.Test; //This package contains a class named 'Test' also
//error: which 'Test' class should be used by the compiler?
public class Simple{
//Do something here
}