1 person found this helpful
You should add below dependency to your pom.xml so that it will available in maven build path.
If you are using CQ 5.5
and if lower version then check corresponding jar version at here http://repo.adobe.com/nexus/content/groups/public/com/day/cq/wcm/cq-content/
Thanks a lot, Jorg and rush_pawan!
It worked. I didn't know about the dependency finder tool.