South Korea and China have shunned summits with Japan since last year , due to Beijing and Seoul 's anger over former Japanese Prime Minister Junichiro Koizumi 's repeated visits to a controversial wartime shrine in Tokyo .