Compiler Error J0217

@com attribute 'identifier' was not specified for 'identifier' but is required in this context

The compiler detected an attribute (for the @com declaration shown in the error) that is missing and that is required for this type of declaration. Each type of @com declaration has attributes that are required. See the documentation on @com for more details on what attributes are required for the @com declaration that is listed in the error message.

The following example illustrates this error:

/**@com.class() */
//error: must specify classid for @com.class
public class Simple{
   //Do something here
}