Tokyo lodged a formal complaint with Beijing, the latest point of contention in the tense relationship between the two countries.