啓動SpringBoot項目時,出現錯誤:Only no-arg methods may be annotated with @Scheduled
說明你使用@Scheduled註解的方法有參數。
@Scheduled註解的方法要求不能有參數。
啓動SpringBoot項目時,出現錯誤:Only no-arg methods may be annotated with @Scheduled
說明你使用@Scheduled註解的方法有參數。
@Scheduled註解的方法要求不能有參數。