We present near-infrared J, H, and K images and K-band spectroscopy in the
giant H II region W42. A massive star cluster is revealed; the color-color
plot and K-band spectroscopic emission features of two of the brighter obje
cts suggest the presence of young stellar objects. The spectrum of the brig
ht central star is similar to unobscured stars with MK spectral types of O5
-O6.5. If this star is on the zero-age main sequence, then the derived spec
trophotometric distance is considerably smaller than previous estimates. Th
e Lyman continuum luminosity of the cluster is a few times that of the Trap
ezium. The slope of the K-band luminosity function is similar to that for t
he Trapezium cluster and significantly steeper than that for the massive st
ar cluster in M17 or in the Arches cluster near the Galactic center.