Japanese Prime Minister Shinzo Abe said Thursday his trip to the Yasukuni war shrine was not aimed at hurting people in neighbouring countries, as a Chinese official condemned the visit.