国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

啟動(dòng)springboot項(xiàng)目報(bào)錯(cuò):To display the conditions report re-run your application with ‘debug‘ enabled.

這篇具有很好參考價(jià)值的文章主要介紹了啟動(dòng)springboot項(xiàng)目報(bào)錯(cuò):To display the conditions report re-run your application with ‘debug‘ enabled.。希望對(duì)大家有所幫助。如果存在錯(cuò)誤或未考慮完全的地方,請大家不吝賜教,您也可以點(diǎn)擊"舉報(bào)違法"按鈕提交疑問。

在springboot項(xiàng)目啟動(dòng)時(shí)報(bào)如下錯(cuò)誤:

啟動(dòng)springboot項(xiàng)目報(bào)錯(cuò):To display the conditions report re-run your application with ‘debug‘ enabled.,spring boot,后端,java

一、錯(cuò)誤原因:

To display the conditions report re-run your application with 'debug' enabled.

此行意思是,啟動(dòng)項(xiàng)目時(shí)出錯(cuò),如果想要詳細(xì)報(bào)告,需調(diào)試(debug)程序。此時(shí)我們找到“Description:”字樣查看錯(cuò)誤描述詳細(xì)信息:

啟動(dòng)springboot項(xiàng)目報(bào)錯(cuò):To display the conditions report re-run your application with ‘debug‘ enabled.,spring boot,后端,java

錯(cuò)誤信息為:web器啟動(dòng)失敗,端口8080已被占用。

二、解決方案:

查看Action下面的內(nèi)容:?

Action: Identify and stop the process that's listening on port 8080 or configure this application to listen on another port.

這里給出兩種解決方案:

1、更改此項(xiàng)目的端口號(hào):找到項(xiàng)目文件下的application.properties配置文件(有的項(xiàng)目以.yml或.yaml為后綴)

啟動(dòng)springboot項(xiàng)目報(bào)錯(cuò):To display the conditions report re-run your application with ‘debug‘ enabled.,spring boot,后端,java?

找到配置文件,若之前配置過,則直接修改port即可,若空白無任何配置,則輸server.port=XXX? ? XXX是自定義的端口號(hào),端口號(hào)默認(rèn)為8080,此處可以修改為8081或其他

此時(shí)重新啟動(dòng)項(xiàng)目即可

2、關(guān)閉占用端口的程序:

使用cmd命令查看端口號(hào)占用情況:netstat -ano | findstr 端口號(hào)

啟動(dòng)springboot項(xiàng)目報(bào)錯(cuò):To display the conditions report re-run your application with ‘debug‘ enabled.,spring boot,后端,java

根據(jù)最后面的進(jìn)程號(hào)(PID:此處為9916)將占用此端口號(hào)的進(jìn)程關(guān)閉:

接著在cmd中輸入此命令:taskkill -PID 進(jìn)程號(hào) -F

或者打開任務(wù)管理器根據(jù)PID(9916)找到該進(jìn)程并手動(dòng)結(jié)束此進(jìn)程

啟動(dòng)springboot項(xiàng)目報(bào)錯(cuò):To display the conditions report re-run your application with ‘debug‘ enabled.,spring boot,后端,java

重新啟動(dòng)該項(xiàng)目即可正常運(yùn)行文章來源地址http://www.zghlxwxcb.cn/news/detail-739906.html

到了這里,關(guān)于啟動(dòng)springboot項(xiàng)目報(bào)錯(cuò):To display the conditions report re-run your application with ‘debug‘ enabled.的文章就介紹完了。如果您還想了解更多內(nèi)容,請?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點(diǎn)僅代表作者本人,不代表本站立場。本站僅提供信息存儲(chǔ)空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實(shí)不符,請點(diǎn)擊違法舉報(bào)進(jìn)行投訴反饋,一經(jīng)查實(shí),立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費(fèi)用

相關(guān)文章

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包