No War but the Class War is a slogan that is used by people who do not like capitalism. It means that people should not go fight in wars, which they believe support the rich and powerful, but fight the rich and powerful instead (in a special kind of war called "class struggle").