In 1668 , Redi showed that no maggots appeared in meat when flies were prevented from laying eggs . The first solid evidence against spontaneous generation came in 1668 from Francesco Redi , who proved that no maggots appeared in meat when flies were prevented from laying eggs .