There is no pilot shortage. There may be a shortage of pilots willing to prostitute themselves for pathetic wages by substandard employers, but that's an employer issue, not a pilot issue.
The article linked at the thread outset opened by talking about Lufthansa pilots threatening a strike over pay. The airline's problem with striking pilots isn't a shortage of pilots, but a shortage of pay. Big difference.