Why did so many in Europe look forward to war by the summer of

Why did so many in Europe look forward to war by the summer of 1914, and what had they done to bring it about?