A magnitude-4.5 earthquake jolted eastern Taiwan's Hualien County at a depth of 21 kilometers on Wednesday, according to local weather authorities.