Not really--Spain flew F-104s, and didn't lose any. The problem was military planners using the F-104 for jobs it was never designed--or intended--to do. It was designed as a high-speed, high-velocity interceptor, to quickly go out, climb high if need be, and confront (and shoot down, if necessary) unknown or identified-as-enemy aircraft, as far from its base as possible (with a return fuel reserve, of course; this could be increased if another home-country [or allied country] base was downrange, in the general direction of the intruding aircraft). But then military planners started hanging bombs on Starfighters (rather like using a race horse to pull a plow), and using them for low-altitude ground attack operations with bombs and rocket pods hung under their wings. Yes, the F-104 could and did function in these new roles, but not very well--but that wasn't the aircraft's fault, as it was mis-used.
The F-104 aircraft came with wing leading edge (and perhaps also wing trailing edge) covers for that very reason, so that servicing personnel wouldn't accidentally cut themselves on the sharp wing edges while working on and/or around the aircraft.