Complete solutions in the theory of thermoelasticity without energy dissipation