Having trouble compiling code....possible reasons?

I am unable to compile java code in my build

here is the error: * What went wrong: Execution failed for task ‘:Core:compileJava’. > Compilation failed; see the compiler error output for details.

Any possible reasons?

Sorry, your pasted error message is not usefull; just do what the message says: Look at the compiler output.