spring boot出現no profiles are currently active

如果不同環境有不同application-${}.properties,則在eclipse中需要設置環境變量 工程右鍵maven-》select maven profiles,勾選環境   如果上述步驟不行,再試一下   在啓動類上右鍵run as-》run configuration
相關文章
相關標籤/搜索