Yes - but it isn't "militarism", it was the idiotic leadership of people who didn't know and didn't bother to find out what an actual war was like and who usually go on to lead their own country into disaster.
The one factor that is common to almost all Western European crises since Martel's defeat of the Muslims in the eighth century is that a country gets an idiot leader or leaders who decides that their glory, honour, virtue and wealth etc is more important than other people being left in peace (or indeed alive) - this is after all what led to Charlemagne, the Viking invasions, 1066, the Crusades (the ones in the Middle East and the ones in Europe), Phillip Augustus, Edward I, the Hundred Years War (Edward III and Henry V especially), the era of the condottieri in Italy, the associated schisms in the Catholic Church, the Reformation and the subsequent wars of religion, the Armada, the Dutch Independence revolt, the Thirty Years' War, the English Civil Wars, Louis XIV, the War of Jenkins' Ear, the Seven Year's War, the wars following the French Revolution, Napoleon, 1870, World War 1 and World War 2.
What the development of the EU has resulted in is that idiot leaders now have less power and less incentive to try to prove their manhood by getting other people to fight for them.