From the text of the address John Paul II gave Thursday 27 May 2004 when he met the new
Nigerian ambassador to the Holy See, Kingsley Sunny Ebenyi.
For this reason, it is of paramount importance to recall that "recourse to violence in the name of religious belief is a perversion of the very teachings of the major religions. I reaffirm here what many religious figures have repeated so often: the use of violence can never claim a religious justification, nor can it foster the growth of true religious feeling" (Message for the 1999 World Day of Peace, No. 5).
A quick
google confirms the Vatican has repeated this statement several times, including to the United Nations.
Now, if "the use of violence can never claim a religious justification", then how can there be a Just War ie a war which claims a religious justification ?