1.问题: Springboot项目直接启动不报错,打war包放到外部容器Tomcat.东方通上,在@Weblistener注解的监听器类中报错 One or more listener fail to start 具体报错是在类构造器中,调用@Service注解的类的实例时,发生空指针异常 2.原代码: private final XxxService xxxService; public XxxListener(XxxService xxxService){ this.xxxService…