原创 Spring Boot Security OAuth2 實現支持 JWT令牌的授權服務器
生成證書 (1) 生成JKS Java KeyStore文件 使用命令行工具keytool生成證書 keytool -genkeypair -alias mytest -keyalg RSA -keypass mypass -keyst
原创 微信公衆號發送模版消息
package com.wx.service.message; import com.alibaba.fastjson.JSON; import com.common.utils.HttpUtil; import com.wx.ser
原创 ideaIU-2018.2.3 破解激活
JetbrainsCrack-3.1-release-enc.jar下載 密碼:ypqg 1,把JetbrainsCrack-3.1-release-enc.jar放在idea的bin目錄下 2,打開bin目錄下的idea.exe.vmo
原创 使用IDEA開發springboot多module模塊項目的配置文件的共享讀取
參考文章:文章鏈接 common 爲公共參數模塊,backend-server爲後臺管理模塊,backend-server模塊要加載common模塊的application-backend.yml和application-jpa
原创 springboot 2.3.0 版本無法引用 javax.validation.constraints. 下的 @NotNull 註解
springboot 2.3.0 版本無法引用 javax.validation.constraints. 下的 @NotNull 註解,如果像使用@NotNull等註解,把版本降到2.2.6就可以了。
原创 idea springboot 項目打包(項目啓動)手動選擇環境
第一步 <profiles> <profile> <id>dev</id> <properties> <spring.profiles
原创 RandomStringUtils 生成隨機字符串
System.out.println(RandomStringUtils.randomAlphanumeric(32)); System.out.println(RandomStringUtils.randomAlphabeti
原创 docker springboot The driver has not received any packets from the server
com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure The last packet sent successfully