原创 Springboot項目簡單案例-登陸

項目代碼已上傳至github,下載地址:https://github.com/snowlavenderlove/springbootLogin.git 1.通過springboot官網新建項目springbootLogin 2.點擊 g

原创 Eclipse:SpringBoot+mybatis實現增刪改查

此項目代碼已上傳至github:https://github.com/snowlavenderlove/springMybatisProject 1.新建數據庫spring_mybatis 2.新建表user 表中字段id,name,p

原创 命令行方式generator-mybatis自動生成代碼報錯彙總

Q1:“前言中不許有內容的錯誤” S:將generatorConfig.xml文件用記事本打開,另存爲,編碼選擇ANSI後重新運行命令即可 Q2: "context" 的內容必須匹配 "(properties?,settings?,typ

原创 idea整合MBG插件

1.創建一個springboot項目,創建完成後如圖   2.在pom.xml中配置mybatis-genertator與mysql-connector依賴 <build> <plugins>

原创 idea爲springboot項目配置熱部署

示例項目代碼下載地址:https://download.csdn.net/download/qq_37231511/12040242 1.創建springboot項目,添加devtools 2.開啓idea自動編譯 3.項目運行時自動

原创 idea創建springboot簡單查詢數據庫查詢案例

完整代碼下載地址:https://download.csdn.net/download/qq_37231511/12028858或   1.創建數據庫mybatis_01,並建表user,插入一條數據,如圖 2.創建springboot

原创 IntelliJ IDEA設置炫酷主題

1.主題下載網址:http://www.riaway.com/theme.php,選擇其中一個,點擊下載 2.下載完成後即如圖jar包 3.將jar放在idea安裝目錄放置主題文件夾(自建)下,如圖 4.打開idea,點擊file

原创 springboot 數據批量插入數據庫

項目代碼下載地址:https://github.com/snowlavenderlove/springBatchImport.git 1.通過官網創建項目springBatchImport,創建項目參考博文:https://blog.cs

原创 springboot+mybatis+pagehelper實現分頁查詢

案例代碼下載地址:https://github.com/snowlavenderlove/springbootPagehelper.git 1.數據庫springimport_excel,表user,表結構如下: 2. 創建項目spri

原创 springboot-導入excel數據存入數據庫

項目代碼:https://github.com/snowlavenderlove/springbootImportExcel.git 1.創建數據庫springimport_excel,並創建表user 2.創建excel,內容如下

原创 springsecurity入門1-登陸角色驗證

案例程序下載地址:https://github.com/snowlavenderlove/springsecurity.git 1.創建數據庫springsecurity,並創建三張表,sys_user,sys_role,sys_user

原创 springboot-@valid+@bingdingResult進行controller參數校驗

項目代碼已上傳至github:https://github.com/snowlavenderlove/springbootValidator.git 1.創建數據庫spring_validator,並建表user,表結構如圖 2.通過h

原创 Eclipse上傳項目至github

1.下載安裝git 2.在github中註冊賬號,登錄 3.創建倉庫  Your profile->New 4.填寫倉庫信息,其他可默認 5.創建完成後如圖 6.將網址拷貝下來 7.在Eclipse中配置git信息 打開Ec

原创 Eclipse創建普通Maven項目

1.打開eclipse->file->New->Other->Maven->Maven Project,點擊next 2.選擇默認工作空間 3.選擇“maven-archetype-quickstart”,其他默認 4.添加grou

原创 Eclipse安裝Spring-Tool-Suite(STS)插件

1.查看Eclipse版本,help->about Eclipse 2.安裝sts插件需依賴GEF插件,安裝GEF插件Eclipse->Help->install New SoftWare->add,輸入網址:http://downloa