@ComponentScan 無參數

Spring @ComponentScan 無參數的組件掃描路徑是什麼ide



在 Spring 中,咱們使用 @ComponentScan 和 @Configuration 註解來指定但願掃描的 Package。get


若是你使用的 @ComponentScan 的話,將會掃描當前文件夾和全部的子文件夾。it


https://www.cwiki.us/display/SpringBootZH/questions/57939056io

相關文章
相關標籤/搜索