The @com.parameters declaration on member 'identifier' has the wrong number of parameters
The compiler detected that the @com.parameters attribute (specified in the error message) has a different number of parameters than the method it is exposing through COM. Ensure that both the method's declaration and the @com.parameters attribute have the correct number of parameters and compile again.
The following example illustrates this error:
/**@com.interface(iid=31415926-5358-9793-2384-612345678910)*/
interface Itest{
/** @com.method(dispid=306);
@com.parameters([type=BOOLEAN] var1, var2, var3)
*/
public void method1(boolean var1, int var2);
/*error: extra parameter added to com.parameters
declaration */
}