原创 vue開發者工具vue-devtools-4.1.4_0.crx谷歌插件下載

2018-06-03版本網盤地址:https://pan.baidu.com/s/14PoaihUHQZEJtiHNWUmdjg下載好後谷歌瀏覽器中擴展程序,開啓開發者模式,將下載的文件拖到窗口中即可

原创 idea unable to import maven see logs for details

unable to import maven see logs for details 我的問題是沒有設置Java環境變量 JAVA_HOME 設置直接選擇jdk就好了

原创 使用Hystrix實現容錯

Hystrix是一個實現了超時機制和斷路器模式的工具類庫。參考上一節: 使用Feign實現聲明式REST調用 創建項目在user-consumer pom中加入Hystrix 依賴<dependency> <groupId>org

原创 springboot thymeleaf 404 自定義處理

springboot使用 thymeleaf maven 加入         <dependency>             <groupId>org.springframework.boot</groupId>          

原创 nginx frp http/https 配置 (全部都是docker 安裝)

操作系統 centos7 一. frp服務端安裝 frp 地址: https://github.com/fatedier/frp 本教程目前用的就是最新的版本 今天是2018年7月23日 安裝步驟 1.下載源碼 cd / git clo

原创 七牛雲覆蓋上傳緩存問題

1.官方刷新緩存 https://developer.qiniu.com/fusion/kb/1325/refresh-the-cache-and-the-effect-of-time https://developer.qiniu.co

原创 springcloud eureka服務註冊與發現

本節示例只提供服務註冊,消費服務在後面的章節中Eureka的原理就不介紹了,直接寫代碼。編寫Eureka Service新建一個spring boot Maven項目,添加如下依賴<dependency>     <groupId>org

原创 docker安裝rabbitmq及插件啓動

docker run -d --name rabbitmq --publish 5671:5671 \ --publish 5672:5672 --publish 4369:4369 --publish 25672:25672 --pub

原创 User must be authenticated with Spring Security before authorization can be completed.unauthorized

spring oauth2User must be authenticated with Spring Security before authorization can be completed.unauthorizedResource

原创 MySQL實現按距離範圍查找

創建表DROP TABLE IF EXISTS `pb_area`; CREATE TABLE `pb_area` ( `id` int(10) NOT NULL COMMENT 'ID', `areaname` varchar

原创 springboot2.0事務不起作用

配置加了@EnableTransactionManagement方法上加了@Transactional(propagation = Propagation.REQUIRED, isolation = Isolation.DEFAULT,

原创 springboot jdk8 LocalDate LocalDateTime jpa 映射字段是tinyblob 解決辦法

springboot jdk8 LocalDate LocalDateTime jpa 映射字段是tinyblob 解決辦法 要映射爲datetime類型  @SpringBootApplication @EntityScan(base

原创 springboot ajax 提交403錯誤

由於開啓了csrf 我用ajax post上傳圖片出現了403錯誤$('#input-app-icon').change(function () { var formdata = new FormData(); var v