Both China and South Korea had refused such summit meetings with Mr. Abe 's predecessor , Junichiro Koizumi , in anger over his annual visits to a Tokyo shrine honoring Japan 's war dead , including convicted war criminals from World War II .