Getting a cylinder mesh to curve
Put the object and curve origin at the exact same position :

Select the curve and press ShiftS &gt; Cursor to Selected
Select the object and press ShiftS &gt; Selection to Cursor

Move the object along the Y axis if you want it to follow the curve.