原创 Another Redis使用手冊

Another Redis DeskTop Manager 跨平臺、免費的redis可視化工具,完勝Redis DeskTop Manager。 下載地址:https://github.com/qishibo/AnotherRed

原创 MySQL 第一列timestamp自動屬性

MySQL 第一列timestamp自動屬性Timestamp潛在危險MySQL官方文檔explicit_defaults_for_timestamp白話文總結 Timestamp潛在危險 集團多處提醒:第一列timestamp可

原创 GC日誌分析 CMS FullGC時長

背景:公司線上服務器,FullGC耗時超過1秒報警。 2019-09-16T11:01:25.287+0800: 9566486.997: [GC (Allocation Failure) 2019-09-16T11:01:25.

原创 Spring AOP的JDK代理與CGLIB代理

項目中使用AOP出現的一個錯誤: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name '

原创 Java VisualVM

1、啓動VisualVM jvisualvm.exe位於JDK bin文件夾下,雙擊打開。 2、安裝Visual GC插件 工具 - 插件 - 可用插件 - Visual GC 如果遇到可用插件地址錯誤,需要在設置中編輯插件中心U

原创 SourceTree刪除GIT密碼

當GIT服務器修改密碼後,sourcetree本地記住的密碼,會導致提交代碼失敗。 本地刪除當前用戶目錄下保存密碼的文件,文件路徑: C:\Users\wuxiaoyuan\AppData\Local\Atlassian\Source

原创 面向切面的Spring編程(官方文檔翻譯)

5. Aspect Oriented Programming with Spring 5.1. Introduction Aspect-Oriented Programming (AOP) complements Object-Orien

原创 No plugin found for prefix 'denpendecy' in the current project and in the plugin

今天在使用mvn denpendecy:tree查看maven依賴樹的時候失敗了,錯誤日誌如下: [ERROR] No plugin found for prefix 'denpendecy' in the current project

原创 Git commit與pull的先後順序

整理這個問題的起因: 1.前些天一個晚輩問我關於commit與pull的先後順序問題 2.今天又與同事爭論了一番commit與pull的先後順序問題 我的建議是: 1.在本地修改與遠程代碼無衝突的情況下,優先使用:pull->com

原创 阿里雲服務器centos搭建Java-web項目

服務器:阿里雲CentOs 6.5 64位 電腦系統:Mac(如果是windows需要安裝xmanage) 項目環境:JDK8、Tomcat8 阿里服務器頁面重置密碼,重啓服務器 下載linux版jdk/tomcat ssh root@

原创 Bean named '...' is expected to be of type '...' but was actually of type 'com.sun.proxy.$Proxy...'

項目中使用AOP出現的一個錯誤: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.