Spain has a 17.3% high school dropout rate though.[1] So education is an issue. Although yeah, many graduates were also unemployed in the crisis.
I think the crisis was kind of exceptional as everyone was going to be pretty screwed either way. But furthermore, it seems that until you reach a sort of 'critical mass' of educated workers it can be hard for them to find employment as it's hard for the country to attract companies that require an educated workforce.
I think the solution would be to continue investing in education to help reach that critical mass and at the same time make it easier for people to set up new companies, start-ups etc.
Spain is pretty bad for this with the harsh autonomo taxes for people trying to start their own business etc., plus all the bureaucracy which often has to be done in-person and appointments are hard to get etc.
At least it seems like things are improving, although the Coronavirus will be a setback.
[1] https://www.euroweeklynews.com/2020/11/13/spain-has-highest-...