fix keyClass problem and change maven repo