Compiler Error (Something Wrong Generic Message)

Sounds good that you got the solution.
However I would like mention here that sometimes DateTools extension causes issues in compiling.
If you (or anyone) faces compiling issues due to DateTools or my any other extension then simply re- import the extension.