The Schwinger model is considered in the Landau-gauge formalism of quantum electrodynamics. This model can be solved exactly on the assumption of no radiative corrections to the anomaly. It is found that the photon obtains a non-zero mass through the Higgs mechanism. In this case, the would-be Nambu-Goldstone boson is an associated boson which is constructed from a pair of two-component massless fermions. This would-be Nambu-Goldstone boson appears as a result of the spontaneous breaking of the gauge invariance of the first kind, and it becomes unphysical through the Higgs mechanism. However, as all the fermions themselves decouple from photons, they cannot appear as real particles in our world.