I have had this terrible experience twice in my life both while attending interviews as a developer for reputed MNC software firm . Even after shortlisting my resume for the interviews and after clearing successfully countless rounds of interviews , it ends up in the HR round where the HR says that I don't have enough relevant experience for the position in question . I wonder if that is the case then it should have been sorted out while screening , and not after the candidate has appeared , slogged and cleared so many rounds of interviews . It frustrating and demoralizing , but is there any way to deal with this ?
HR people were not the people who concluded that your experience was not sufficient. It was the people who interviewed you. HR people and the software used scan resumes only look for the key words in your resume, and pass it on to the pool of candidates worth interviewing.
Since you weren't in the interviews with the other candidates, you have now idea how their experience or interview compared to yours.
You're frustrated to be so close to getting what you wanted, and being rejected. Don't let that frustration make the decision on what company you interview with. You try again later or for a different position.
(The only time you wouldn't try again is if they offered you a job and you rejected it. Company's don't like being jerked around either.)