Idea中怎么配置SpringBoot多環(huán)境

本篇文章為大家展示了Idea中怎么配置SpringBoot多環(huán)境,內(nèi)容簡明扼要并且容易理解,絕對能使你眼前一亮,通過這篇文章的詳細(xì)介紹希望你能有所收獲。

阿壩州網(wǎng)站制作公司哪家好,找創(chuàng)新互聯(lián)!從網(wǎng)頁設(shè)計(jì)、網(wǎng)站建設(shè)、微信開發(fā)、APP開發(fā)、響應(yīng)式網(wǎng)站建設(shè)等網(wǎng)站項(xiàng)目制作,到程序開發(fā),運(yùn)營維護(hù)。創(chuàng)新互聯(lián)自2013年起到現(xiàn)在10年的時(shí)間,我們擁有了豐富的建站經(jīng)驗(yàn)和運(yùn)維經(jīng)驗(yàn),來保證我們的工作的順利進(jìn)行。專注于網(wǎng)站建設(shè)就選創(chuàng)新互聯(lián)。

一.springBoot啟動(dòng)在Program arguments:輸入指令--spring.profiles.active=dev

Idea中怎么配置SpringBoot多環(huán)境

二. springBoot啟動(dòng)在Active Profiles:輸入dev

Idea中怎么配置SpringBoot多環(huán)境

三.springBoot啟動(dòng)在Environment variables: 輸入spring.profiles.active=dev

Idea中怎么配置SpringBoot多環(huán)境

四.maven啟動(dòng)Environment variables: 輸入spring.profiles.active=dev

Idea中怎么配置SpringBoot多環(huán)境

Idea中怎么配置SpringBoot多環(huán)境

五.maven啟動(dòng)Skip tests下輸入spring.profiles.active=dev

Idea中怎么配置SpringBoot多環(huán)境

上述內(nèi)容就是Idea中怎么配置SpringBoot多環(huán)境,你們學(xué)到知識(shí)或技能了嗎?如果還想學(xué)到更多技能或者豐富自己的知識(shí)儲(chǔ)備,歡迎關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道。

分享文章:Idea中怎么配置SpringBoot多環(huán)境
本文鏈接:http://muchs.cn/article34/ghgdse.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供云服務(wù)器、自適應(yīng)網(wǎng)站Google、企業(yè)網(wǎng)站制作網(wǎng)站設(shè)計(jì)、App設(shè)計(jì)

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)

h5響應(yīng)式網(wǎng)站建設(shè)