That is a very generic message, and not very useful.
What IDE are you using? ...check the log for errors