The enemy
On no other question are the two teachers so close, and on none is it so hard to do what they say.
Jesus
But I say unto you, Love your enemies, bless them that curse you, do good to them that hate you, and pray for them which despitefully use you, and persecute you.
The Buddha
For hatred does not cease by hatred at any time: hatred ceases by love, this is an old rule.
The grievance
The Buddha begins one step earlier, with the story we keep telling ourselves about the person who hurt us.
"He abused me, he beat me, he defeated me, he robbed me,"—in those who harbour such thoughts hatred will never cease.
Jesus, asked how often to forgive a brother, answered "Until seventy times seven" (Matthew 18:22, King James Version): the retelling has to be met with forgiving, again and again.
At the end
Jesus
Father, forgive them; for they know not what they do.
The Buddha
In the early texts the Buddha compares the right mind toward an attacker to the earth, which takes whatever is thrown on it without anger, and tells his monks that even if bandits cut them limb from limb with a saw, the one who gave way to hatred would not be following his teaching.
Told in plain words, from the Simile of the Saw (Majjhima Nikaya 21).
Where they part
Jesus grounds love of the enemy in God, who "maketh his sun to rise on the evil and on the good" (Matthew 5:45, King James Version): you love because you are loved, and you pray for the enemy. The Buddha grounds it in seeing clearly: hatred burns the one who holds it, and the enemy, like you, wants not to suffer. One road runs through a Father; the other through understanding. They arrive at the same door.
One thing to try
Name one person you resent. Once today, wish them well, or pray for them, without asking yourself to feel it. Forgiveness, in steps.