原创 瞭解Spring Boot

0.學習目標 瞭解SpringBoot的作用 掌握java配置的方式 瞭解SpringBoot自動配置原理 掌握SpringBoot的基本使用 瞭解Thymeleaf的基本使用   1. 瞭解SpringBoot 在這

原创 PowerShell.解決禁止本地執行腳本

現象 直接找到XXX.ps1右鍵 使用PowerShell運行沒反應,然後打開PowerShel把腳本推進去顯示這個: 原因是因爲腳本執行權限默認是Restricted,這個是禁止執行任何本地腳本。 獲取當前執行權限:get-exec

原创 Please note that v5.0.1+ of superagent removes User-Agent header by default,

SuperAgent is a small progressive client-side HTTP request library, and Node.js module with the same API, sporting many

原创 認識微服務2

0.學習目標 會配置Hystix熔斷 會使用Feign進行遠程調用 能獨立搭建Zuul網關 能編寫Zuul的攔截器   1.Hystix 1.1.簡介 Hystix,即熔斷器。 主頁:https://github.com/

原创 搜索引擎核心思想

      建索引使用like模糊查詢會失效,like需要全局遍歷,索引的原理 Mysql裏面使用的是B+樹   數據結構   數組  查找快  更新很慢 鏈表  更新很快 查找慢 https://www.cs.usfca.ed

原创 ElasticSearch案例實戰——電商網站商品管理(一)

1、document數據格式 面向文檔的搜索分析引擎 (1)應用系統的數據結構都是面向對象的,複雜的 (2)對象數據存儲到數據庫中,只能拆解開來,變爲扁平的多張表,每次查詢的時候還得還原回對象格式,相當麻煩 (3)ES是面向文檔的,文檔中

原创 mybatis 中 insert 和insertSelective的區別

insertSelective--有選擇性的保存數據 比如User裏面有三個字段:id name age password User u=new user(); u.setName("bill"); mapper.inser

原创 Execution repackage of goal org.springframework.boot:spring-boot-maven-plugi

Spring boot 執行打包操作時候,報錯如下 Execution default of goal org.springframework.boot:spring-boot-maven-plugin:XXXX RELEASE:repa

原创 Element project cannot have character [children], because the types content type is element-only.

原因: 配置文件中的beans節點下面只能是元素節點,不能有字符或文本存在。 比如多餘的標點符號,點,也有可能是空格。 解決: 將配置文件之間的空格刪掉,有時候眼睛看着明明沒有什麼問題,但是刪掉就沒有問題了。。。。  

原创 MyBatis-plus中的Page total總爲0,list數據正常

一、創建一個類注入PaginationInterceptor @Configuration public class MybatisPlusConfig {       /**      * 分頁插件      */     @Bean

原创 Cannot resolve method run(java.lang.Classcom.CmsApplication

springboot項目創建常見問題 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 一、分析cannot resolve method 'run(java.lang.class) 無法解決方法“運行” 如果是

原创 java總結(ORACLE數據庫&jdbc&Mysql)

不間斷更新。。。。Oracle數據庫概述Oracle是著名的Oracle(甲骨文)公司的數據庫產品·Oracle是世界上第一個商品化的關係型數據庫管理系統·Oracle採用標準SQL(結構化查詢語言),支持多種數據類型,提供面向對象的數據

原创 The template root requires exactly one element.

error:[vue/valid-template-root] The template root requires exactly one element. 原因: 因爲vue的模版中只有能一個根節點,所以在<templa

原创 Java實現植物大戰殭屍簡易版

          加羣獲取源碼,圖片,資源共享學習交流羣號:769674658(快滿) qq交流二羣(296389054)                               Java實現植物大戰殭屍簡易版 遊戲介紹 通過