端口8080上的Tomcat使用Spring引导Java失败
我是弹簧靴的初学者。当我运行spring引导应用程序时,我遇到了配置为侦听端口8080的Tomcat连接器无法启动的问题。弹簧靴 我不知道如何解决这个问题。我在运行mysql it端口8080时安装了mysql。那么如何解决这个问题呢端口8080上的Tomcat使用Spring引导Java失败,spring,spring-boot,Spring,Spring Boot,我是弹簧靴的初学者。当我运行spring引导应用程序时,我遇到了配置为侦听端口8080的Tomcat连接器无法启动的问题。弹簧靴 我不知道如何解决这个问题。我在运行mysql it端口8080时安装了mysql。那么如何解决这个问题呢 *************************** APPLICATION FAILED TO START *************************** Description: The Tomcat connector configur
***************************
APPLICATION FAILED TO START
***************************
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.
似乎8080端口已经被其他进程使用 通过在
application.properties
中添加server.port=8090
来更改spring boot tomcat端口
将8090更改为您想要使用的任何端口。您的8080端口已被其他进程使用 在
application.properties
中更改spring boot的端口server.port=8090
如果应用程序运行服务器端口号不属于计算机上的任何其他进程,则可以将该端口号更改为
另一件事是,如果您使用IntelliJ idea进行开发,在没有正确方式的情况下意外关闭IDE,则可能发生了此错误{personal experience}。那么您在端口8080上运行MySQL?这是你的问题。停止MySQL服务,您可以在8080上运行Tomcat。这是否回答了您的问题?这回答了你的问题吗?错误消失了。但是localhost/8090但无法访问此站点您是说localhost:8090带有:而不是/?