My take is that many Christian scholars believe that the book of James should not have been included in the cannons.
1. The book of James was not directed to Gentile Christians, it was directed to law keeping Jews, James 1:1.
It was written to the Jews, in fact, so it's no surprise to me that there is a very Jewishness to it.
2. James sent men to spy on Peter and Barnabas to see if they were eating with Gentiles, Galatians 1:11-21.
Are you sure you have the right passage?
Galatians 1:11-21
(11) But I certify you, brethren, that the gospel which was preached of me is not after man.
(12) For I neither received it of man, neither was I taught it, but by the revelation of Jesus Christ.
(13) For ye have heard of my conversation in time past in the Jews' religion, how that beyond measure I persecuted the church of God, and wasted it:
(14) And profited in the Jews' religion above many my equals in mine own nation, being more exceedingly zealous of the traditions of my fathers.
(15) But when it pleased God, who separated me from my mother's womb, and called me by his grace,
(16) To reveal his Son in me, that I might preach him among the heathen; immediately I conferred not with flesh and blood:
(17) Neither went I up to Jerusalem to them which were apostles before me; but I went into Arabia, and returned again unto Damascus.
(18) Then after three years I went up to Jerusalem to see Peter, and abode with him fifteen days.
(19) But other of the apostles saw I none, save James the Lord's brother.
(20) Now the things which I write unto you, behold, before God, I lie not.
(21) Afterwards I came into the regions of Syria and Cilicia;
I think you may mean chapter 2? In any case, I don't see a place that tells us,
2. James sent men to spy on Peter and Barnabas to see if they were eating with Gentiles, Galatians 1:11-21.
Could you post that particular verse?
3. James wanted to circumcise Gentile believers, Acts 15:1-21.
Actually it was some of the Pharisees.
Acts 15:1-21
(1) And certain men which came down from Judaea taught the brethren, and said, Except ye be circumcised after the manner of Moses, ye cannot be saved.
(2) When therefore Paul and Barnabas had no small dissension and disputation with them, they determined that Paul and Barnabas, and certain other of them, should go up to Jerusalem unto the apostles and elders about this question.
(3) And being brought on their way by the church, they passed through Phenice and Samaria, declaring the conversion of the Gentiles: and they caused great joy unto all the brethren.
(4) And when they were come to Jerusalem, they were received of the church, and of the apostles and elders, and they declared all things that God had done with them.
(5)
But there rose up certain of the sect of the Pharisees which believed, saying, That it was needful to circumcise them, and to command them to keep the law of Moses.
(6) And the apostles and elders came together for to consider of this matter.
(7) And when there had been much disputing, Peter rose up, and said unto them, Men and brethren, ye know how that a good while ago God made choice among us, that the Gentiles by my mouth should hear the word of the gospel, and believe.
(8) And God, which knoweth the hearts, bare them witness, giving them the Holy Ghost, even as he did unto us;
(9) And put no difference between us and them, purifying their hearts by faith.
(10) Now therefore why tempt ye God, to put a yoke upon the neck of the disciples, which neither our fathers nor we were able to bear?
(11) But we believe that through the grace of the Lord Jesus Christ we shall be saved, even as they.
(12) Then all the multitude kept silence, and gave audience to Barnabas and Paul, declaring what miracles and wonders God had wrought among the Gentiles by them.
(13) And after they had held their peace, James answered, saying, Men and brethren, hearken unto me:
(14) Simeon hath declared how God at the first did visit the Gentiles, to take out of them a people for his name.
(15) And to this agree the words of the prophets; as it is written,
(16) After this I will return, and will build again the tabernacle of David, which is fallen down; and I will build again the ruins thereof, and I will set it up:
(17) That the residue of men might seek after the Lord, and all the Gentiles, upon whom my name is called, saith the Lord, who doeth all these things.
(18) Known unto God are all his works from the beginning of the world.
(19) Wherefore my sentence is, that we trouble not them, which from among the Gentiles are turned to God:
(20) But that we write unto them, that they abstain from pollutions of idols, and from fornication, and from things strangled, and from blood.
(21) For Moses of old time hath in every city them that preach him, being read in the synagogues every sabbath day.
There is nothing in the book of James about being justified by faith apart from the works of the law. The book of James is very Jewish and not like Paul's epistles.
Actually, James is defining saving faith as faith that produces works, so I don't see the disagreement with Paul. He still bases salvation on faith, only a certain kind of faith.
Much love!