The error message has a good description of the definition for the main() method. Did you try it?