it seems clear to me that Paul was saying that we are justified by faith alone
Justified by faith alone now - and again there is this unwarranted addition of "alone" to the passage. Even so, maybe I could accept that - now, how does justification amount to salvation? But the claim was salvation by faith alone until just now. What caused the goal posts to be moved?
Or maybe there is a bit more to being justified than merely having faith after all.
Rom 2:13 (For not the hearers of the law [are] just before God, but the doers of the law shall be justified.
Rom 5:9 Much more then, being now justified by his blood, we shall be saved from wrath through him.
Gal 2:16 Knowing that a man is not justified by the works of the law, but by the faith of Jesus Christ, even we have believed in Jesus Christ, that we might be justified by the faith of Christ, and not by the works of the law: for by the works of the law shall no flesh be justified.
and yet again and yet again - works specifically of law.
Jam 2:21 Was not Abraham our father justified by works, when he had offered Isaac his son upon the altar? Jam 2:25 Likewise also was not Rahab the harlot justified by works, when she had received the messengers, and had sent [them] out another way? Jam 2:24 Ye see then how that by works a man is justified, and not by faith only.
NO! James is NOT contradicting Paul: He is contradicting the claim that is being made of Paul's statements - said claim being that nothing more than faith is needed.