Corrected compilation errors in java classes. POM files are left unchanged though.