The teachers of Dedham, Massachusetts, voted overwhelmingly to go out on strike.

DEDHAM — Hundreds of striking teachers took to the streets Friday in this suburban town, holding placards, marching with students and parents, and cheering fresh support from high-profile Democratic politicians. Meanwhile, signs emerged that stalled negotiations could resume this weekend.

The first teachers strike in 12 years in Massachusetts followed an overwhelming vote of 275 to 2 on Thursday to walk off the job despite a state ruling that the strike is illegal. Public schools were closed Friday in this community of 25,000 people, bordering Boston.

Timothy Dwyer, president of the Dedham Education Association, called the strike “a last resort” after nearly two years of failed negotiations over salary increases, health insurance, and other issues such as sexual harassment grievances and cellphone use in the classroom.