The solution is to rebuild these countries and focus on funding these projects instead of them making these journeys to Europe.
Stop bombing these countries and stop interfering in their way of life and if Isis or some other group enter thenleave the people to deal with it.
Yes it's horrible...