weird issue with a 240volt light

I have three lights not working. I wired a new barn. I was thinking maybe all three lights don't work on the same switch line.

I have 240 volts at the light boxes. I took the lights home, I wired the lights at home at 240volts, they work. The other lights in the barn work.

I don't understand how i have 240 volts at the light box, but light won't turn on?

Any suggestions?