From Wikipedia (emphasize mine):
At one time, in an effort to extend the U-2's operating range and to eliminate the need for foreign government approval for U-2 operations from USAF bases in foreign countries, it was suggested that the U-2 be operated from aircraft carriers. Three aircraft were converted for carrier operations by the installation of arrester hooks, and carrier-qualified naval aviators were recruited to fly them.
It turned out to be possible to take off and land a U-2 from a carrier. Testing in 1964 with the USS Ranger and in 1969 with the USS America proved the concept. The only operational carrier use occurred in May 1964 when a U-2, operating from USS Ranger, was used to spy on a French atomic test in the Pacific.
In 1969, the larger U-2Rs were flown from the carrier America. The U-2 carrier program is believed to have been halted after 1969.
It also provides the following resources: