An @com attribute cannot be placed on static member 'identifier'
The compiler detected that an @com declaration was placed on a static member of a class. Static members cannot be exposed through COM. Remove the static keyword from the method or field and compile again.
The following example illustrates this error:
/*@com.class(classid=31415926-5358-9793-2384-612345678910)
public class Simple{
/**@com.method(dispid=777);*/
static void method1(){}
//error: cannot expose static method via COM
}