A quick search determined that at least in Switzerland and South Korea, there is an avenue for conscientious objection, so I wouldn't say that "military service" is mandatory there. Even in Israel there seem to be plenty of options to get around military service.
I recommend the Wikipedia articles about "Conscription in <insert country here>".