How to train an animal NOT to do something - bathtub tom
Water spray. Worked with every cat I've known. Looked after Daughter's while they were away, damn thing would jump on the table at every mealtime. A quick squirt soon resolved it.
You do have to maintain it though and not listen to anyone saying 'that's cruel'.