The belief ASDIC had solved the submarine problem, the acute budgetary pressures of the Great Depression, and the pressing demands for many other types of rearmament meant little was spent on anti-submarine ships or weapons. Most British naval spending, and many of the best officers, went into the battlefleet. Critically, the British expected, as in the First World War, German submarines would be coastal craft and only threaten harbour approaches. As a result, the Royal Navy entered the Second World War in 1939 without enough long-range escorts to protect ocean-going shipping, and there were no officers with experience of long-range anti-submarine warfare. The situation in Royal Air Force Coastal Command was even more dire: patrol aircraft lacked the range to cover the North Atlantic and could typically only machine-gun the spot where they saw a submarine dive.