I cannot figure out why my simple Spring 5.1.12 webapp running in Tomcat calls the Lifecycle.stop() method when I configure using java config but not using XML config. I hav