The Tomcat connector configured to listen on port 1804 failed to start. The port——执行spring-boot程序是报错
spring-boot
spring-projects/spring-boot: 是一个用于简化Spring应用开发的框架。适合用于需要快速开发企业级Java应用的项目。特点是可以提供自动配置、独立运行和内置的Tomcat服务器,简化Spring应用的构建和部署。
项目地址:https://gitcode.com/gh_mirrors/sp/spring-boot
免费下载资源
·
执行spring-boot程序是报错
错误过程:
***************************
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.
问题:
The Tomcat connector configured to listen on port 1804 failed to start.
The port may already be in use or the connector may be misconfigured.
解决方案:
1、在Windows系统中,进入cmd。输入【netstat -ano】
找到如下所示的端口所包含的进程。
2、输入【tasklist | findstr “10056”】找到该进程【10056】所对应的程序。
3、输入【taskkill /f /t /im javaw.exe】,杀死该进程
结束:问题已经解决,重新运行项目就可以了
GitHub 加速计划 / sp / spring-boot
73.97 K
40.4 K
下载
spring-projects/spring-boot: 是一个用于简化Spring应用开发的框架。适合用于需要快速开发企业级Java应用的项目。特点是可以提供自动配置、独立运行和内置的Tomcat服务器,简化Spring应用的构建和部署。
最近提交(Master分支:8 天前 )
d3a2bf40
* pr/42289:
Add common definition annotations support for ConfigurationProperties
Closes gh-42289
3 天前
44be2e11
Update `` to ensure that common bean definition annotations, such as
`@Lazy`, `@Primary` and `@Fallback`, are applied.
See gh-42289
3 天前
更多推荐
已为社区贡献5条内容
所有评论(0)