java version issue, didn't compile from maven