There was plenty of important conflicts in Europe between WW1 and the Napoleonic wars, not on the same scale, but it was hardly peaceful. Europe was undergoing major structural changes with the advent of nationalisms.
And the causes of war are a lot more complicated than just Germany looking for export markets and colonies. It might be one of many causes (or rather consequences of other factors), but it's hardly the basic driver.