0x00.問題 netcoreapp2.2環境下, Startup.cs 代碼配置如下 運行輸出警告:“ConsoleLoggerExtensions.AddConsole(ILoggerFactory)”已過時:“This method is obsolete and will be remove ...
相信接觸過spring做開發的小伙伴們一定使用過@ComponentScan註解 @ComponentScan("com.wangm.lifecycle") public class AppConfig { } @ComponentScan指定basePackage,將包下的類按照一定規則註冊成Be ...