Contractors in Gosport, Hampshire, have tried to intimidate travellers away from setting up camp on a field near a school.