Resolved maven compile error.