class-path順序導致的問題

最近遇到兩個關於class-path順序導致的問題 問題1. application.properties重複的問題 業務應用會誤把application.properties打入二方包中,這樣在class-path會同時出現好幾個application.properties文件,Spring都是通過ClassLoader.getResource(「application.properties」)
相關文章
相關標籤/搜索