The Invalid Resource is issued in the following situations:

You should Verify your extension again in order to generate the dll or jar correctly.

See Also

Resource Editor | Error Messages