Jesus never taught the Just War theory. It's just a war theory. He said, "Love your enemies and pray for those who persecute you," and to the Pharisees, "You have a fine way of rejecting the commandment of God in order to establish your tradition!" (Mark 7:9)