Sonar scanner throws compiler Error , while build wrapper compiles the code successfully

Hey there.

Take a look at this thread: