原创 PPT製作_顏色

跟google類似的網站: 必應圖像:https://cn.bing.com/   最好輸入英文字 搜索 圖標庫:www.iconfont.cn 模板- 演界網:http://www.yanj.cn 靈感: 花瓣網:http://www.

原创 springboot yml配置和取值易犯錯誤

1、實體類 (1)忘記寫getter setter 、無參和有參構造方法 (2)忘記 @Component @ConfigurationProperties(prefix = "auth") 2、yml配置文件與實體類不對應,或映射的k

原创 改爲國內鏡像時jenkins plugin提示: Update information obtained: 不可用 ago;

將jenkins plugin 更改爲國內鏡像時報如下錯:     Update Site中的URL 由:原jenkins官網  改爲:https://mirrors.tuna.tsinghua.edu.cn/jenkins/update

原创 jenkins 集成sonar qube

重要:一定要下載sonar qube7.9以下版本,其7.9以上版本不支持mysql,否則 白安裝了。   四、在jenkins中,使用 pipelilne與sonar qube結合使用 (1)pipeline 配置如下,‘xx’中的內容

原创 springboot 靜態資源 和 thymleaf模板引擎和thymleaf語法_配置首頁

5、配置首頁 server.servlet.context-path=/jinhua http://localhost:8080/jinhua/     4、thymleaf 數組     3、一個簡單spring boot的thml

原创 springboot配置元數據 和JSR303數據校驗和自動裝配

3、JSR303校驗數據校驗 JSR303定義的校驗類型 1 空檢查 2 @Null 驗證對象是否爲null 3 @NotNull 驗證對象是否不爲null, 無法查檢長度爲0的字符串 4 @NotBlank

原创 sonarqube啓動報錯Process [web] is stopped Process [es] is stopped SonarQube is stopped mac系統

2020.03.27 09:18:21 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /Users/yp-tc-m-2935/Downloads/

原创 springboot日誌多環境設置

logback-spring.xml配置設置   <?xml version="1.0" encoding="UTF-8"?> <configuration scan="true" scanPeriod="60 seconds" deb

原创 gitlab項目有變化jenkins自動觸發構建 webhooks

2、以管理員身份登錄gitlab,如admin賬號——> (1)點擊Admin Area ——> settings——> settings下的network ——>outbound requests,選擇第一個——保存   (2)進入到

原创 jenkins下載啓動—集成環境搭建配置

https://jenkins.io/download/ 下載其war,放到tomcat下的webapp下 URIEncoding="UTF-8",不是URLEncoding 若在瀏覽器重啓Jenkins,直接在本地網址後面加上re

原创 sonar scanner

  1、配置scanner.propterties     2、開啓權限認證sonar qube

原创 springboot 與數據訪問和JDBCTemplate

四、   三、使用spring執行建表或執行數據庫語句(二可直接跳過,看此部分)       二、配置數據庫信息,並測試springboot默認使用的數據源是啥 一、依賴 <dependency> <groupId>or

原创 springboot幾種配置文件的方式

1、@ConfigrualtionProperties(prefix="person") application.properties 和application.yaml 是全局配置文件,若將所有的配置文件,都放到裏邊,信息會多。 2、@

原创 cucumber註解

  Given − It describes the pre-requisite for the test to be executed. Example − GIVEN I am a Facebook user When − It de

原创 java集合再學再理解

(4)       (3) MAP         (2)       (1)