MADRID - Foreign ministers of Japan and South Korea reaffirmed the importance of solving a bilateral dispute over wartime labor compensation when they briefly met in Madrid on Sunday evening, a senior Japanese official said.