原创 通過Spring Cloud Bus配置Webhooks不能自動刷新的問題"message":"No message available","path":"/monitor"

Spring Cloud Bus 一定要注意的問題 最近總是有技術交流羣裏的羣友問,使用github配置 Webhooks,config 配置自動刷新的時候爲什麼一直404, {"timestamp":"2019-06-25T

原创 layui時間區間問題

設置起止時間,約束,結束時間不能小於開始時間,開始時間不能大於結束時間 <input type="text" class="form-control" name="beginTime" id="beginTime" th:va

原创 jQuery檢驗表單爲正整數

jQuery檢驗表單爲正整數 <input id="sort" name="sort" class="form-control" type="number" > jQuery.validator.addMethod("int

原创 git 上傳步驟

就五步: git init git add . git commit -m "first commit" git remote add origin https://github.com/xxx/xx.git git push

原创 Navicat遠程連接報錯10038

問題梳理配置信息問題描述嘗試與處理 配置信息 服務器版本:ubuntu_16_04_x64 mysql版本:mysql-5.7.30-linux-glibc2.12-x86_64.tar 問題描述 正常解壓安裝完以後命令行可以登錄

原创 eureka client啓動被停止 Completed shut down of DiscoveryClient

eureka client端啓動 Completed shut down of DiscoveryClient 最近搭建eureka client 端,啓動註冊不到服務端,並且終止進程 Completed shut down

原创 SpringBoot配置屬性之DataSource

datasource spring.dao.exceptiontranslation.enabled是否開啓PersistenceExceptionTranslationPostProcessor,默認爲true spring.

原创 SpringBoot配置屬性之NOSQL

cache spring.cache.cache-names指定要創建的緩存的名稱,逗號分隔(若該緩存實現支持的話) spring.cache.ehcache.config指定初始化EhCache時使用的配置文件的位置指定. s

原创 搭建es集羣遇到的問題

過程中會遇到一些情況,下邊一一列舉: 一、下載解壓以後修改 elasticsearch.yml # 集羣名字 幾個節點要一致 cluster.name: my-es # # ----------------------------

原创 搭建zookeeper集羣遇到的問題

搭建zookeeper集羣遇到的問題搭建zookeeper集羣遇到的問題點首先下載zk修改配置文件創建myid結束 搭建zookeeper集羣遇到的問題點 由於業務需要,需要用到kafka集羣,這裏就不得不搭建一套zookeepe

原创 thymeleaf標籤使用詳解

原文鏈接:https://www.cnblogs.com/ityouknow/p/5833560.html 標題thymeleaf介紹 簡單說, Thymeleaf 是一個跟 Veloc

原创 nexus加入新jar包

nexus加入新jar 到對應的jar包所在目錄 先加入項目jar,這裏是發佈snapshots版本的,其他的自己替換即可 mvn deploy:deploy-file -DgroupId=com.xxx.springboot

原创 BigDecimal加減乘除

BigDecimal加減乘除 BigDecimal bignum1 = new BigDecimal(“10”); BigDecimal bignum2 = new BigDecimal(“5”); BigDecimal bign

原创 通過Spring Cloud Bus配置Webhooks不能自動刷新的問題

Spring Cloud Bus 一定要注意的問題 最近總是有技術交流羣裏的羣友問,使用github配置 Webhooks,config 配置自動刷新的時候爲什麼一直404, {"timestamp":"2019-06-25T

原创 通過Feign 進行調用@FeignClient 找不到的問題

通過Feign 進行調用 這裏配置spring-cloud 版本爲 M8的 <properties> <java.version>1.8</java.version> <spring-clou