The Treaty of Versailles (1919) was a peace treaty signed by the European powers that officially ended the First World War.
After six months of negotiations in Paris, the treaty was signed as a continuation of the November 1918 armistice in Compiègne, which had put an end to the clashes. The main point of the treaty was that Germany should accept all responsibilities for causing the war and that, under the terms of articles 231-247, it should make reparations to a number of nations of the Triple Entente.
However, Germany was not the only one to blame for the establishment of war, so we can conclude that the Versailles treaty erred in blaming only one country. This created a strong grudge in Germany and although the second war was preventable, that feeling of grudge influenced a new war to take place.