原创 springboot集成swagger2

 1、swagger簡介   Swagger是一款RESTful接口的文檔在線自動生成、功能測試功能框架。一個規範和完整的框架,用於生成、描述、調用和可視化RESTful風格的Web服務,加上swagger-ui,可以有很好的呈現。

原创 Missing artifact com.lowagie:itextasian:jar:2.1.7

在maven中添加iTextAsian支持   導入maven項目 發現pom.xml文件 中這個依賴報錯:Missing artifact com.lowagie:itextasian:jar:2.1.7 <dependency>

原创 Cannot find class: NUMERIC

mybatis啓動報錯: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'cn/xdf/yn/api/m

原创 Vue.js安裝及環境搭建

Vue.js環境搭建-Windows版   步驟一:安裝node.js 在搭建vue的開發環境之前,需要先下載node.js,vue的運行是要依賴於node的npm的管理工具來實現,node可以在官網或者中文網裏面下載,根據自己的電腦選

原创 mysql啓動報錯:Failed to start LSB: start and stop MySQL

報錯信息: [root@youxx-021 bin]# service mysql status Redirecting to /bin/systemctl status mysql.service ¡ñ mysqld57.serv

原创 springboot學習源碼

springbootTest 學習源碼鏈接 啓動前,需要創建數據庫表,修改自己的鏈接配置 create database test01; use test01; CREATE TABLE category_ ( id int(11

原创 springboot集成elasticsearch

一、elasticsearch簡介:   ElasticSearch(ES) 是一個基於 Lucene 的搜索服務器,是一個分佈式、可擴展、實時的搜索與數據分析引擎,它能從項目一開始就賦予你的數據以搜索、分析和探索的能力,基於 RES

原创 springboot單元測試

步驟一:基於前面的知識點   本知識點在springboot使用基於Mybatis註解方式實現的CRUD的基礎上進行的。 步驟二:修改pom.xml文件   在pom.xml文件添加 junit的依賴和spring-boot-start

原创 Failed to instantiate [org.elasticsearch.client.transport.TransportClient]

Springboot 集成 ElasticSearch,springboot報錯如下: Error starting ApplicationContext. To display the auto-configuration rep

原创 NoNodeAvailableException[None of the configured nodes are available:[.127.0.0.1}{127.0.0.1:9300]

我在springboot 集成 elasticsearch,啓動springboot測試創建索引,建立索引的時候報 : NoNodeAvailableException[None of the configured nodes are

原创 eclipse集成lombok

  場景:減少實體類中如Getter,Setter,構造方法的書寫,加快開發速度。   原因:lombok是一個第三方插件,我們使用時需要進行兩個步驟(兩個步驟缺一不可):             1.引入lombok依賴      

原创 Error evaluating expression 'ticketNos'.

一、問題描述 springboot + mybatis項目測試報錯: Error evaluating expression 'ticketNos'. ... 是由於方法傳參類型未對應 JPA改版mybatis中 疏忽: JPA