At first, the shrine was named after the guide of the Apostle Barnabas – Saint Heraclidius. But in the seventh century, in the village of Lampadu, John was born, whose name is the modern building. He grew up in a family of a priest and was familiar with religious traditions from an early age. After an unsuccessful wedding, the young man lost his sight and became a monk. He did not manage to live long and he died at 22.