You can make the datasource as xpath and constraint the data based on your association.
Alternatively you can use :
Hi Anvitha Boyapati,
The error says that pagination will work on you list view data source will be in Database or Xpath your taking from the association. You can use alternate pagination widget instead of this.
You may use