I should say that this happened on my 98, and on a 1990 cherokee I just finished swapping the engine on. Got the new engine in, everything hooked up. Had power to everything, lights, fuel pump etc. Hit the key and nothing! Checked and re-checked everything I'd done for 2 days.
This is what my problem was. Wiggled the shifter and it started right up!