An on-duty Greensboro police officer was accidentally shot in the stomach with his service weapon late Wednesday morning.