@Chin Chee Seng My apologies for the long delay on this thread. I did come across the following article on Medium: How to acquire and use an access token from Azure AD in a React & Spring app: a simple developer’s guide.If you've already resolved the issue, please consider sharing the details here so that others visiting this thread may benefit from your experience.
UPDATE:
Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others", I'll repost your solution in case you'd like to "Accept" the answer.
Issue:
Springboot couldn't authenticate the JWT passed in from my ReactJS app with MSAL returning 401 error.
Solution:
It was the CORS; the issue was solved when the CORS was disabled in SecurityChain.