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 force were not challenged in the war.
The Spanish won the Spanish American War.