【异常】运行SpringBoot程序提示异常,Web server failed to start. Port XXX was already in use.
2023-09-14 09:04:55 时间
一、报错内容
***************************
APPLICATION FAILED TO START
***************************
Description:
Web server failed to start. Port 9091 was already in use.
Action:
Identify and stop the process that's listening on port 9091 or configure this application to listen on another port.
二、报错说明
典型的端口号冲突导致的问题
三、报错解决
以下步骤按先后顺序都可以尝试下,看看能否解决
(1)杀掉你不需要的JVM进程
(2)换个端口号试试
(3)重新启动IDEA
(4)重启电脑
相关文章
- 使用SpringBoot AOP 记录操作日志、异常日志
- 11、Logback日志框架介绍和SpringBoot整合实战 2节课
- 权限管理系统之SpringBoot集成LayUI实现后台管理首页
- springboot点击运行没反应,什么都不显示的解决方式
- SpringBoot使用Mybatis注解开发教程-分页-动态sql
- Atitit code 范例 example code 范例 example 更好一些,将最佳实践融入其中。。目录第一章 Springboot 1第二章 Rest api 1第一节
- 云小课|使用SpringBoot快速构建FunctionGraph HTTP函数
- 基于注解SpringAOP,AfterReturning,Before,Around__springboot工程 @Around 简单的使用__SpringBoot:AOP 自定义注解实现日志管理
- SpringBoot的编码问题
- springboot项目中关于时间类型转换的格式问题
- SpringBoot工程启动报错No bean named ‘org.springframework.context.xxxxx.importRegistry‘ available
- 【springboot】7、yaml
- IDEA快速构建SpringBoot项目
- IntelliJ IDEA 创建 SpringBoot 项目 Maven 打包 jar