Baruch Spinoza was cursed for his opinions in a book he published in the seventeenth century and is one of the most notable examples. The book which got him into trouble was entitled Tractatus Theologico-Politicus. In it he put forward his view that Ezra was the author of the Torah. 'The belief that Moses wrote the Pentateuch at the dictation of God was shared by Christians as well as Jews in the seventeenth century. Small wonder, then, that Spinoza’s views were seen at that time as rank heresy of the greatest danger to faith. Biblical criticism in the nineteenth century relied on Spinoza to develop the whole subject further.' (The Jewish Religion: A Companion)
Spinoza taught that miracles are impossible. In regards to the doctrine of the Jews as a Chosen People, he said: '“at the present time there is nothing whatsoever that the Jews can arrogate to themselves above other nations” (TTP, chap. 3, G III.56/S 45). 'Spinoza thereby rejects the particularism that many—including Amsterdam’s Sephardic rabbis—insisted was essential to Judaism. True piety and blessedness are universal in their scope and accessible to anyone, regardless of their confessional creed.' (Stanford Encyclopedia of Philosophy)
See "The Text of Spinoza's Excommunication."