Cannot 'new' an interface 'identifier'
The compiler detected an attempt to instantiate an interface object declared as abstract. Interfaces can only be implemented by a class, and thus cannot be instantiated in the way a class can.
Note Interfaces are abstract by default, regardless of whether or not the keyword abstract is used in their declaration.
The following example illustrates this error:
interface Simple2 {
// do something meaningful
}
public class Simple {
public void method1() {
Simple2 s2Object = new Simple2();
// error: interface Simple2 is abstract
}
}