If there are any compile errors, you will receive an exception error dialog:

Click OK, then inspect the messages that have been reported in a new output window in a tab labeled "Compile".

Use this information to edit the file until there are no further errors. In the example above, there is no such class called Rotor.