Both were about an outsider trying to rewrite the terms of system from which they felt excluded. WW1 was loosely states with an empire vs. those without.
Both have involved massive miscalculations on all parts as to how quickly and easily this will be over. Russia thought Ukraine would fold, NATO thought Russia would.
We need to be realistic here. This is bad and could get substantially worse.