運行時報錯端口號已被綁定,但是我已經在配置文件和代碼中都修改了端口號,依然報錯
GirlApplication?EmbeddedServletContainerCustomizer{ ???main(String[]?args)?{ ??????SpringApplication.(GirlApplication.,?args); ???} ???customize(ConfigurableEmbeddedServletContainer?container){ ???????container.setPort(); ????} }
錯誤:
Description:
The Tomcat connector configured to listen on port 8080 failed to start. The port may already be in use or the connector may be misconfigured.
Action:
Verify the connector's configuration, identify and stop any process that's listening on port 8080, or configure this application to listen on another port.
2018-09-29
public static void 哪去了?? 服
2018-02-05