The Spanish-American War was no great challenge for the US force that landed at Guanica, on Puerto Rico's calm south coast, rather than at fortified San Juan.
The US would have lost the war had they landed in San Juan.