原创 【問題解決】junit4下使用logback出現Could NOT find resource [logback-test.xml]的錯誤

問題: junit4下使用logback打印日誌,出現以下錯誤 解決方案 日誌配置文件 添加配置文件logback.xml POM文件配置 注意需要添加slf4j-simple的依賴

原创 datagrip使用mysqldump導出sql出現(1109)錯誤

軟件環境 本地mysql版本爲8.0 服務器mysql版本爲5.7 遇到問題 使用datagrip IDE導出服務器中的表結構時(如圖),datagrip提示錯誤: mysqldump: Couldn't execute 'S

原创 Client does not support authentication protocol requested by server

問題來源: homebrew安裝完mysql8後,需要做一些初始化配置,關於密碼的配置如下: There are three levels of password validation policy: LOW Length >=

原创 【多線程】線程狀態轉換

線程狀態轉換 1、新建狀態(New):新創建了一個線程對象。 2、就緒狀態(Runnable):線程對象創建後,其他線程調用了該對象的start()方法。該狀態的線程位於可運行線程池中,變得可運行,等待獲取CPU的使用權。 3、運行狀

原创 python內置函數大全(含使用用例)

    內置函數     abs() delattr() hash() memoryview() set() all() dict() help() min() setattr() any() dir() hex() next() sli