gateway网关启动报错依赖错误Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean
之前正常的网关忽然启动不了,打开idea右侧maven依赖项分析,有一个包引用了javax.servlet.
在这个包里面排除掉即可.
<exclusions>
<exclusion>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
</exclusions>
</exclusion>

浙公网安备 33010602011771号