基於spring mvc註解項目 啓動時初始化數據

基於spring mvc註解項目 啓動時初始化數據html 註解部分就不寫了。。。。 實現ApplicationListener的onApplicationEvent方法能在項目啓動時執行。 @SuppressWarnings("rawtypes") @Repository public class GetData implements ApplicationListener{
相關文章
相關標籤/搜索