The end of the 19th century witnessed the growth of evidence against the classical physics based on Newton's theory. I will discuss two such problems, the first concerns the ether, which appeared to have inconsistent properties; the second refers to an apparent contradiction between Galilean relativity and the theory of electromagnetism. The resolution of these conflicts cannot be achieved within Newtonian physics: it requires the theory of relativity.