log4j中Logger.getLogger()加載一個類提示錯誤

錯誤提示如下:The method getLogger(String) in the type Logger is not applicable for the arguments (Class<TestMyBatis>) 等我知道這個報錯的原因時,覺得自己粗心。 因爲import錯了包 我導入的:import java.util.logging.Logger; 應該導入:import org.a
相關文章
相關標籤/搜索