From 1945 in effect they had NATO looking after them, since then they still have NATO looking after them, despite not paying for it.
It seems logical for any EU Military Force or "European Army" to replace all the individual EU national forces in NATO - that is to say the new armed forces would become part of a re-constituted NATO and the EU member states would thereafter make all contribution to NATO only through their involvement in the EU armed forces.