1.问题: Springboot项目直接启动不报错,打war包放到外部容器Tomcat.东方通上,在@Weblistener注解的监听器类中报错 One or more listener fail to start 具体报错是在类构造器中,调用@Service注解的类的实例时,发生空指针异常 2.原代码: private final XxxService xxxService; public XxxListener(XxxService xxxService){ this.xxxService…
异常: java.io.FileNotFoundException: /Users/lanhuajian/.m2/repository/org/apache/derby/derby/10.13.1.1/derbyLocale_cs.jar (No such file or directory) at java.util.zip.ZipFile.open(Native Method) ~[?:1.8.0_152] at java.util.zip.ZipFile.<init>(ZipFile.j…
今天在做springboot整合成springCloud并注册到consul中时,发现若注册到consule中成功 则不能启动swagger,且不能提供任何API服务,要是能提供API服务则不能注册到consule中,并报错" Spring MVC found on classpath, which is incompatible with Spring Cloud Gateway at this time. "+ "Please remove spring-boot-sta…