For an excellent, full treatment of this complicated issue, see Raymond Brown, The Birth of the Messiah (Garden City, NY: Doubleday, 1977).