原创 idea 打war 包 WEB-INF下的class文件沒打進去

問題: 一、idea打war包的時候, WEB-INF下的class文件沒打進去,導致tomcat啓動的時候,報 org.apache.catalina.core.ApplicationContext.log No Spring WebA

原创 centos7.2 docker 安裝 啓動報錯 Failed to start Docker Application Container Engine

Failed to start Docker Application Container Engine. 下面是我啓動成功後,爲了記錄下前面的錯誤,故意將daemon.conf  重新改爲daemon.json,啓動失敗的記錄 以供大家學

原创 數據庫查詢優化:explain 分析sql語句執行效率 簡介明瞭版

直接在查詢語句前使用explain 執行結果就是上圖的格式。重要得失圈中的三個參數。 key就是索引名,rows是內循環數。 type有很多,常見的有六種。 all index range ref ref_eq const 全表掃描

原创 centos7.2 docker activemq 安裝 報錯 pull access denied for webcenter/acticemq

直接使用docker pull webcenter/acticemq有問題 pull access denied for webcenter/acticemq, repository does not exist or may requi

原创 centos7.2 docker 安裝 啓動報錯

Failed to start Docker Application Container Engine. 下面是我啓動成功後,爲了記錄下前面的錯誤,故意將daemon.conf  重新改爲daemon.json,啓動失敗的記錄 以供大家學

原创 String.format("%"

格式爲:String.format("%"+填充值+期望位數+類型, 被格式化的值)  

原创 rabbitMq和erlong版本需要相對應

Failed to start rabbitmq-server.service: Unit not found. 上滿的問題是rabbitMq和erlong的版本不對應。 rabbitMq官網最高只有2018.1.19的3.6.15版本,

原创 Linux Failed iptables.service: Unit iptables.service not loaded.

已經本地測試成功的nginx,遠程不能訪問,因爲阿里雲centos系統防火牆使用firewalld而不是iptables   Failed to stop iptables.service: Unit iptables.service n