Leaders pose for a group photo during a meeting of the European Political Community at Prague Castle in Prague.
Russia is the one major European power not invited, along with its neighbour and supporter in the war Belarus.
Her Belgian counterpart, Alexander De Croo, said "if you just look at the attendance here, you see the importance".
"The whole European continent is here, except two countries: Belarus and Russia.
Latvian Prime Minister Krisjanis Karins said the fallout from Russia's war on Ukraine is something they all have in common.
"We are now in a strong position to direct all possible powers of Europe to end the war and guarantee long-term peace," he said.
The aim, he said, is to forge a common strategy to confront the challenges Europe faces. »