1.) Select the line object that you want to use as a path
2.) In the Modify Panel, get into vertex sub-object mode
3.) Window select the entire shape so that all vertices are selected
4.) Right click and select "Weld Vertices"
5.) Go back to the Modify Panel and get out of vertex sub-object mode
Now you should be able to Loft the shape along the Path.