原创 Jackson使用convertValue報錯:java.lang.NoSuchMethodError 解決方法
使用jackson將實體對象轉換成map的時候報錯: public static void main(String[] args) { ObjectMapper mapper = new ObjectMapper();
原创 qos-server can not bind localhost:22222s
Qos=Quality of Service,qos是Dubbo的在線運維命令,可以對服務進行動態的配置、控制及查詢,Dubboo2.5.8新版本重構了telnet(telnet是從Dubbo2.0.5開始支持的)模塊,提供了新的teln
原创 解決:MacOS 蘋果系統 微信截圖 app截圖 無法正常使用
解決catalina系統中微信或其他APP截圖無法正常使用 第一步: 步驟二:
原创 Spring Aspect @PointCut(execution表達式)
execution(* com.sample.service.impl..*.*(..)) 解釋如下: 符號 含義 execution() 表達式的主體; 第一個”*“符號 表示返回值的類型任意; com.sample.service
原创 dubbo 2.7 spring-boot starter 多註冊中心寫法
踩了太多坑,官網中文參考地址:http://dubbo.apache.org/zh-cn/index.html 話不多說,直接懟代碼 dubbo 2.7.x 的 boot starter寫法如下 依賴: <dubbo.version>2
原创 Dbeaver報錯:The server time zone value '中國標準時間' is unrecognized
The server time zone value '中國標準時間' is unrecognized or represents more than one time zone. You must configure either
原创 win10下解決:sourcee tree 添加 accounts.json無效
在 %LocalAppData%\Atlassian\SourceTree\ 新增accounts.json [ { "$id": "1", "$type": "SourceTree.Api.Host.Identi
原创 Java Oracle:ORA-12505, TNS:listener does not currently know of SID given in connect descriptor.
Java鏈接oracle的時候報錯: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor The Connection de
原创 win10:ssh-keygen unknown key type -rsa
今天配置 git公鑰的時候出現: ssh-keygen unknown key type -rsa 網上試了很多方法,沒解決 最後我直接用: ssh-keygen -C"[email protected]" 解決了,注意:-C後面沒有空格
原创 Cannot resolve org.openjfx:javafx.base:11.0.0-SNAPSHOTs
我是更新了idea,版本爲idea2019.2.3版本,突然maven報錯: Cannot resolve org.openjfx:javafx.base:11.0.0-SNAPSHOTs 我的解決方案如下(可嘗試,並不是百分之百有用效)
原创 spring boot 集成 dubbo starter 實現多註冊中心配置(yaml配置)
spring boot 集成 dubbo後yml配置如何寫呢,下面就跟我一起看看。 三個module: spring-boot-dubbo-share spring-boot-dubbo-provider spring-boot-du
原创 idea maven窗口消失,解決方案
菜單欄Help->Find Action(Ctrl+Shift+A),輸入Maven projects
原创 IDEA 字體推薦
File菜單->Settings->Colors & Fonts->Editor Font=dialog, size=12, line spacing =1.0 File菜單->Settings->Appearance-> Font Na
原创 mysql timestamp 查詢前一天(昨天)的數據
未完,待補充. 1. 用 TO_DAYS( NOW( ) ) - TO_DAYS( gmt_insert ) =1 SELECT gmt_insert,TO_DAYS(gmt_insert),TO_DAYS(NOW()),TO_DA
原创 chrome 添加 utf-8 charset 插件(離線版本)
第一步:下載 https://github.com/jinliming2/Chrome-Charset 找到release: https://github.com/jinliming2/Chrome-Charset/releases 下