You can say that the treaty of Versailles caused WW2, as it was humiliating for Germany, and contributed to Germany's poor economic condition in the following years.
Germans seeked revenge, and some blamed Jews for defeat. Hitler used those emotions to create a strong movement which "had all the answers" for mentioned problems.
Germans made France sign their capitulation in the same wagon, where Germany signed "armistice" in 1918. That shows that Germans during WW2 really wanted payback for previous defeat.