Apparently it's already a labor shortage when HR departments can keep themselves busy running openings for mr and mrs perfect while rejecting everybody who is less than a 99.9% match.
From gut feeling, this effect is especially pronounced in Germany. You don’t have exactly those 4 years of experience in Java Spring Poop? Into the trash your CV goes.
They cannot conceive people learning new skills quickly, being dynamic, or their two years worth of experience weighing much heavier than your average, mentally checked out 4 YoE developer.
Screening hundreds of people quickly is tough, I get it, but either be actually open minded or quit crying about labour shortage.