is the vibration of a spring, a longitude wave.

Yes, the vibrations of a spring are considered longitudinal waves. This is because the vibrations travel parallel to the direction that the wave is moving, in this case, the length of the spring. The compression and rarefaction of the spring are also parallel to the direction of the wave.