原创 dependencyManagement和dependencies區別

 dependencies即使在子項目中不寫該依賴項,那麼子項目仍然會從父項目中繼承該依賴項 結果就 Parent 引入 junit 4.0    子項目中默認就會加載junit4.0    dependencyManagement裏只是

原创 spingboot junit5 入門

springboot 自動帶junit不需要額外引入 package com.zhupeng.demo; import com.zhupeng.demo.Thread.threadTest; import org.junit.jupi

原创 IntelliJ IDEA 查看類和方法的繼承關係

上下級的繼承關係: 按住ctrl+點擊圖標處    查看類的所有繼承關係: 選中類 ctrl+alt+u 點贊 收藏 分享 文章舉報 Future_By_Now 發佈

原创 Uncaught TypeError: layer.open is not a function

如果同時應用一下js 應按順序引用 <script src="/js/jquery-1.9.0.min.js"></script> <script src="${rc.contextPath}/js/plugins/layer/layer

原创 springboot 接受大寫參數時,接收值爲空

  入參: {     "title":"文章標題1",     "content":"文章內容22222222222222222222222222222222222222222222222222222222222222222222222

原创 配置正常時打包時的 數據庫連接問題

因爲開發環境連接的數據庫是內網的,有時部在公司時修改項目後打包出現數據庫連接失敗,不允許打包問題;    原因: 啓用了junit測試,解決方式:1.註釋test環境,2.在pom文件的 properties標籤內添加 <skipTe

原创 @RequestBody

@RequestBody String type 前端直接傳值 body 直接傳   1  不需要key:value @RequestBody USER user body json { "name":"張三", "sex":"男" }

原创 Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could

錯誤原因: pom文件中引入 <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter

原创 ubuntu 14.04 mysql 安裝

1.先看自己的linux 版本   lsb_release -a LSB Version:    core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1

原创 oracle 帶clob類型表

1.同用戶情況下使用pl/sql  oracle 導出 2.非同用戶情況下,先導出用戶對象選擇對應表導入表結構,在通過查詢導出sql,在通過sql導入數據(如果存在輸入值於nbsp) 可以使用sql在 sql plus 環境下 先執行 s

原创 Invalid bound statement (not found)

Invalid bound statement (not found) 錯誤原因: 1.入參出參錯誤 2.路徑映射錯誤   springboot+mybatisplus  正常項目路徑# mapper-locations: /com/wo

原创 html 常用標籤

顏色: 16進制代碼:bgcolor=#ff0000; rgb(r,g,b):rgb(255,0,0)或rgb(100%,0%,0%) 顏色關鍵字:bgcolor=red   用字符級標記對詞語或詞組進行顯示控制 標記 描

原创 nexus 安裝與啓動

1.官網下載 https://www.sonatype.com/download-oss-sonatype 本文使用的是nexus-3.13.0-01-win64,nexus不同ban'版本啓動命令有區別 2.安裝後 1.進入nexus

原创 pom常見配置

<span style="padding:0px; margin:0px"><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://ww

原创 docker安裝

版本:linux ubuntu 14.04(安裝失敗的話請先查詢docker是否支持你對應的系統版本,目前docker只支持64位查看核心:uname -r查看系統:uname -i)1.sudo apt-get update (更新庫)