boot 项目启动:Error starting ApplicationContext. To display the conditions report re-run

Error starting ApplicationContext. To display the conditions report re-run


问题描述

boot 工程启动不了

原因分析:

以后看到这种错误的信息Error starting ApplicationContext,就要想到端口占用的的问题

boot 程序的端口号默认是 8080

解决方案:

关闭 占用端口号的程序 一般是 Application web server 这个任务进程,在任务管理器终止即可,
或者在配置文件中修改 boot 工程端口号即可

关闭占用端口号的程序的方法

打开cmd 命令窗口,进行下面的命令
提示:8080 是查询的端口号,27900是查出来占用 8080 端口号的程序的 pid,java.exe是通过pid查出来的程序

提示:这里填写该问题的具体解决方案:

var code = “12d80fce-b222-4805-825f-0d7cfaa8ebb0”

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled"这个错误通常是由于配置文件的错误所导致的。你可以先检查一下你的配置文件是否正确,并确保所有的依赖项都正确配置和加载。如果你使用的是Spring Boot项目,可以尝试在运行应用程序时添加'debug'参数来显示更详细的条件报告。这可以帮助你更好地理解错误的原因。另外,你还可以查看应用程序的日志文件,以获取更多的错误信息。如果问题仍然存在,你可以尝试查看错误日志中的堆栈跟踪,以找出导致应用程序启动失败的具体原因。希望这些方法能帮助你解决这个问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [解决Error starting ApplicationContext.To display the conditions report re-run your application xxx的...](https://blog.csdn.net/lvoelife/article/details/126180897)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] - *2* [SpringBoot项目报错解决:“Error starting ... To display the conditions report re-run ...”](https://blog.csdn.net/drnrrwfs/article/details/125244381)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] - *3* [spring boot整合mybatis-plus启动报错问题及解答.pdf](https://download.csdn.net/download/Conquer24/12686490)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

小小俊少

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值