We consider the problemwhere p > 1, ε > 0 is a small parameter, and V is a uniformly positive, smooth potential. Let be a closed curve, nondegenerate geodesic relative to the weighted arc length V σ , where σ = ( p + 1)/( p − 1) − 1/2. We prove the existence of a solution u concentrating along the whole of , exponentially small in ε at any positive distance from it, provided that ε is small and away from certain critical numbers. In particular, this establishes the validity of a conjecture raised in [3] in the two-dimensional case.