How did Luther's view contrast with the view of salvation in the Catholic Church?

Well, both Martin Luther and the Catholics believed that salvation came from the grace of God. Martin luther believed that one was saved though faith alone. The Catholics believe that one is saved through both faith and good works.