They can all be synonymous. 'Next to' particularly and also 'close to' suggest juxtaposition or quasi-juxtaposition, while 'near' only suggests proximity, but there are no absolute differences.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.