Classical solutions for the system curl v=g, with vanishing Dirichlet boundary conditions