在maven项目的resource目录下新建一个 application.properties , 定义server.port 没有生效  显示端口被占用,在windows 下输入 netstat -ano 显示 被占用的端口,然后输入tasklist 显示被占的端口应用,启动任务管理器将其关闭,重新启动springboot即可

相关文章:

  • 2022-01-14
  • 2022-12-23
  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
  • 2022-01-10
  • 2022-01-09
猜你喜欢
  • 2021-11-14
  • 2021-11-16
  • 2021-07-05
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
  • 2021-05-19
相关资源
相似解决方案