原创 spring boot : Invalid Keystore format Error 解決方法

前言 springboot:2.0.0.RELEASE maven 開啓HTTPS 在eclipse中啓動項目,可以正常啓動 maven 打包後,啓動springboot出現錯誤:Invalid Keystore format

原创 【sprinb-boot】maven 多模塊項目:單獨 spring-boot:run 某個模塊

前言 springboot 2.0.0.RELEASE maven 3.5.0 maven 多模塊項目關係 問題 假設多模塊項目同時具備繼承關係和聚合關係,結構如下: my-parent <<< this is a Sprin

原创 【spring-session】介紹

前言 spring-session 2.0.10.RELEASE 項目地址: https://spring.io/projects/spring-session 文檔地址: https://docs.spring.io/spri

原创 【redis】刪除所有key

清空當前數據庫中的所有 key 使用 flushdb 命令。 限制條件:redis 版本 >= 1.0.0 清空整個 Redis 服務器的數據 使用 flushall 命令用於清空整個 Redis 服務器的數據,即刪除所有數據庫的

原创 There is more than one Web fragment with the same name: "spring_web".

錯誤定位: 根據報錯提示,說有重複的模塊,即找到重複的刪掉即可。 錯誤原因 spring-web-xxx.jar 重複了。 刪除一個,保留一個。再次重啓服務器,無異常。 參考 https://blog.csdn.net/qq_35

原创 eclipse中properties文件編輯插件:PropertiesEditor

前言 Eclipse Version: 2019-09 R (4.13.0) PropertiesEditor 是將中文轉換成 Unicode編碼 進行保存。 煩人的亂碼問題,再也不會出現了。 在線安裝 eclipse中pro

原创 【maven插件】versions-maven-plugin : 管理版本號

前言 Apache Maven 3.5.0 org.codehaus.mojo:versions-maven-plugin 2.5 http://www.mojohaus.org/versions-maven-plugin/in

原创 Linux下查看進程佔用內存情況

cat /proc/pid/status

原创 mysql 使用 utf8mb4 編碼

前言 MySQL 操作版本: 5.7.26 爲什麼要使用 utf8mb4? 最直接的理由可以參考這兩個: How to support full Unicode in MySQL databases。 如果遇到錯誤 Inco

原创 selenium:使用已打開的chrome瀏覽器

前言 環境參考 selenium:我的第一個程序 使用已打開的chrome瀏覽器有啥好處 不用驗證登陸狀態,可以先登陸,再爬蟲 不用反覆開瀏覽器 開啓命令行啓動 chrome.exe 找到 chrome 安裝目錄。一般

原创 Linux使用命令查看文件指定行號的內容

Linux使用命令查看文件指定行號的內容,有下面幾種方法: tail -n +/-數字 文件名 head -n 數字 文件名 sed -n “開始行,結束行p” 文件名

原创 正則表達式截取URL參數值

java 代碼 import java.util.regex.Matcher; import java.util.regex.Pattern; public class Test2 { public static void

原创 FileZilla Server : FTP and FTPS Server

前言 官網:https://filezilla-project.org FileZilla Client FileZilla Pro FileZilla Server FileZilla Server FileZilla S

原创 Windows 平臺的 Markdown 編輯器 : Typora

前言 官網 : https://typora.io TYPORA的使用手冊 用了一天,在windows上編輯markdown確實比atom好用。

原创 Spring Cloud Data Flow手動安裝

前言 Spring Cloud Data Flow 2.4.2 win7 簡介 Microservice based Streaming and Batch data processing for Cloud Foundry