On a microlevel, a worker shortage is a reflection of lack of wage and too strict requirements. You can't find a worker because your potential workers are happily doing a different jobs. You've not incentivized them enough to come work for you. You might say "But we are offering $15/hour!" and that's fine, but that's what a lot of other companies are now offering. You make balk at the idea of going up further as being "too much" but that just underscores the problem.
Now if it truly is a labor shortage, SOMEONE is going to be left with not enough workers. That'll always be the person that wants "15 years of experience! We pay $30k/year!".
Just do the extreme. Do you think you'd struggle to find someone if the offering was "$200k/year!"? Hell no, you'd have people moving to live in your widget city for that job.
Realistically, you can even hire people to manufacture additional workers, if you have the financial and time resources required.
Jobs that require lots of training can have short term global shortages of skilled workers. But, that quickly self corrects as long as salaries increase.
Pay living wages and provide paid, on-the-job training. That will get prospective employees through the door.
This used to be standard practice. It's a modern development (80s on) that businesses demanded workers come pre trained.
A shortage occurs when an external force prevents price from rising. Medical doctors in some jurisdictions, for example, are often legally prevented from accepting higher offers to prioritize patients. Instead their service fees are fixed and they have to accept patients on system that is usually a mix of first come, first serve and needs-based priority. Therefore a doctor shortage, in said jurisdictions, is quite possible. But you generally won't find such restrictions in the general labour pool.
1) There's no one currently employed elsewhere that can make widgets who you could poach for enough money.
2) Widget making is so specialized and / or time is so short that you can't train up another worker to fill the role.
If #1 and #2 aren't possible because your margin can't cover it, then you have a failed business, not a labour shortage.
So basically "labour shortage" in a market economy is a myth, usually circulated to suppress wages. Anyone who says "labour shortage" really means "not enough cheap labour".
Or is that not something that could really happen outside of a textbook problem?