Johnson says there can be no 'military solution' in Afghanis