Updated

China's Foreign Ministry has accused Japan's prime minister of hypocrisy and said he would not be welcome in China after he visited a shrine honoring Japan's war dead.

Spokesman Qin Gang said Monday in a regular briefing that Japanese Prime Minister Shinzo Abe's visit to the Yasukuni shrine in central Tokyo had seriously hurt relations between the countries and shut the door for dialogue between their leaders.

Qin says Abe needs to admit to Beijing and the Chinese people that he made a mistake.

Japanese politicians' visits to Yasukuni have long caused friction with China and both Koreas, because the 2.5 million war dead enshrined there include 14 class A war criminals from World War II.