<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    快車道

     

    2023年6月3日

    Idea 異常關(guān)閉后,再次啟動報錯:指定進(jìn)程仍運行中

    造成此報錯信息的原因是 idea 的 .lock 文件仍就存在,但實際其對應(yīng)的進(jìn)程已經(jīng)不存在,故處理辦法就是刪除 .lock 文件即可。
    .lock 文件在類似于 /.config/JetBrains/IdeaIC2023.2 下,依據(jù)為:
      /snap/intellij-idea-community/current/bin/idea.sh
      其中包含:
        CONFIG_HOME="${XDG_CONFIG_HOME:-${HOME}/.config}"
    參考:
      pycharm啟動失敗Cannot connect to already running IDE instance. Exception: Process 7,927 is still running

    posted @ 2023-09-25 09:09 快車道 閱讀(63) | 評論 (0)編輯 收藏

    SpringBoot 工程 Run/Debug 時報錯:active: @profile.name@ 相關(guān)的 @ 不識別

    現(xiàn)象:
    1、此工程之前實際正常 Run/Debug 過,每次修改代碼會在 idea 中重新 package 打包;
    2、偶然執(zhí)行 Run/Debug 均報告 active: @profile.name@ 相關(guān)的錯誤信息,重新打包后依然報錯;

    分析及解決:
    1、基于 active: @profile.name@ 及啟動日志信息,明確 springboot 啟用了 @...@ 動態(tài)獲取配置的意圖;
    2、檢查 idea 中 maven 插件,確保有選中合適的 profile 選項(有必要到根 pom.xml 中檢查對應(yīng)項);
     2.a、若多選 maven 插件中的多個 profile 選項,則會按 pom.xml 中物理可用的最后一個來處理;
     2.b、若全部不選、多選但全部沒有對應(yīng)項,則 @profile.name@ 無法被動態(tài)轉(zhuǎn)譯,進(jìn)而保留不變;
    3、在 maven 插件中選擇 compile/package,隨后 target/classes/application.yml 中查看結(jié)果;

    參考:
    1、while scanning for the next tokenfound character ‘@‘ that cannot start any token.
    2、聊聊 SpringBoot 中的兩種占位符:@*@ ${*}
    3、在構(gòu)建時期自動擴(kuò)展info屬性
    4、SpringBoot配置文件
    5、Spring BootYAML屬性配置文件使用詳解
    6、Spring boot2 使用profile 配置多環(huán)境
    7、Could not resolve placeholder ‘xxx‘ in value “${xxx}“

    posted @ 2023-08-29 17:18 快車道 閱讀(67) | 評論 (0)編輯 收藏

    【轉(zhuǎn)】Ubuntu 22.04 網(wǎng)絡(luò)連接失敗(甚至設(shè)置中看不到設(shè)備)

    來源:
      Ubuntu 22.04重啟后網(wǎng)絡(luò)連接失敗
      Linux Ubuntu22.04重啟網(wǎng)卡命令ip link set enp8s0 down/up
      linux debian/ubuntu RTL8111/8168/8411網(wǎng)卡驅(qū)動怎么正確安裝?
    相關(guān)命令:
      sudo ip link      查看網(wǎng)絡(luò)接口
      sudo vi /etc/netplan/01-network-manager-all.yaml    臨時對 netplan 改用 systemd-networkd 來替代默認(rèn)的 network-manager
      sudo netplan apply    啟用新的配置
      sudo netplan try      試驗
      如果 ping www.baidu.com 成功,則可以運行 sudo apt install network-manager,并恢復(fù) netplan 配置
     

    posted @ 2023-08-14 20:49 快車道 閱讀(412) | 評論 (0)編輯 收藏

    【轉(zhuǎn)】MySQL 一行數(shù)據(jù) mysql一行數(shù)據(jù)轉(zhuǎn)兩列

    來源:
      MySQL 一行數(shù)據(jù) mysql一行數(shù)據(jù)轉(zhuǎn)兩列
      MySql 一行變多行(根據(jù)特定符號分割)
      MySQL數(shù)據(jù)庫中將一條數(shù)據(jù)分成多條數(shù)據(jù) 

    posted @ 2023-07-17 07:35 快車道 閱讀(75) | 評論 (0)編輯 收藏

    【轉(zhuǎn)】oracle,mysql,h2的時間類型和函數(shù) + 【轉(zhuǎn)】group by ,having, 聚合函數(shù)的使用

    來源:https://blog.csdn.net/ned_mahone/article/details/80081394
    來源:https://blog.csdn.net/christine_ruan/article/details/7569782

    posted @ 2023-06-29 19:39 快車道 閱讀(62) | 評論 (0)編輯 收藏

    【轉(zhuǎn)】spring.datasource.schema/data 根據(jù)官網(wǎng)深趴

    來源:https://blog.csdn.net/qq_41055045/article/details/122038093

    推薦適用于測試的 springboot 2.5 及以上版本中 application.yaml 配置示例:
    # DataSource Config
    spring:
      datasource:
        driver-class-name: org.h2.Driver
        url: jdbc:h2:mem:test
        username: root
        password: test
      sql:
        init:
          schema-locations: classpath:db/schema-h2.sql
          data-locations: classpath:db/data-h2.sql
          mode: always

    不推薦的廢棄配置方式:
    spring:
      datasource:
        schema: classpath:db/schema-h2.sql
        data: classpath:db/data-h2.sql

    posted @ 2023-06-29 12:28 快車道 閱讀(65) | 評論 (0)編輯 收藏

    【轉(zhuǎn)】解決ubuntu22.04不能使用todesk問題(顯示沒有x11桌面)、Clonezilla再生龍備份與還原linux系統(tǒng)

    來源:https://blog.csdn.net/crazyjinks/article/details/130017180

    Clonezilla再生龍備份與還原linux系統(tǒng)
    來源:https://blog.csdn.net/wf19930209/article/details/100012611

    通過systemback制作系統(tǒng)鏡像以及鏡像安裝,實現(xiàn)系統(tǒng)備份和復(fù)刻
    來源:https://blog.csdn.net/wxh0000mm/article/details/122923111

    posted @ 2023-06-21 17:45 快車道 閱讀(1278) | 評論 (0)編輯 收藏

    獲取mysql的建表DDL

    方法一:執(zhí)行SQL命令
      SHOW CREATE TABLE table_name;
    方法二:基于dbeaver工具(以下包含安裝指令)
      sudo snap install dbeaver-ce
      啟動dbeaver后配置連接,再選中指定表獲取DDL

    以上兩種方法都只是針對單表

    參考網(wǎng)頁資源:
     MySQL導(dǎo)出建表語句:一步到位(mysql導(dǎo)出建表語句)  https://www.dbs724.com/74935.html

    posted @ 2023-06-03 16:21 快車道 閱讀(237) | 評論 (0)編輯 收藏

    【轉(zhuǎn)】git-github fork 后獲取公開正式倉庫(原始倉庫)新分支(fork項目里同步他人新增分支的方法)

    版權(quán)聲明:本文為CSDN博主「西京刀客」的原創(chuàng)文章,遵循CC 4.0 BY-SA版權(quán)協(xié)議,轉(zhuǎn)載請附上原文出處鏈接及本聲明。
    原文鏈接:https://blog.csdn.net/inthat/article/details/124779375
    0、背景
    github fork了https://github.com/xxx/xxx.git后一段時間,同步更新正常。
    當(dāng)https://github.com/xxx/xxx.git新增了分支testbranch,如何持續(xù)一致地同步更新?
    基于git標(biāo)準(zhǔn),原始倉庫為upstream,克隆倉庫為origin:
      upstrean: https://github.com/xxx/xxx.git
      origin:   https://github.com/yyy/xxx.git
    git本地庫:   當(dāng)前僅知道origin,不知道upstream
    1、查看本地的遠(yuǎn)端倉庫,并添加 upstream 上游倉庫
    git remote -v
    git remote add upstream https://github.com/xxx/xxx.git
    git remote -v
    2、直接從 upstream 獲取新分支 testbranch 到本地
    git fetch upstream
    git checkout -b testbranch upstream/testbranch
    3、推送本地的新分支 testbranch 到 origin 上游倉庫
    git push origin testbranch
    4、在github中,可以查看到分支testbranch已經(jīng)存在并與主庫同步一致

    posted @ 2023-06-03 12:01 快車道 閱讀(199) | 評論 (0)編輯 收藏

    導(dǎo)航

    統(tǒng)計

    常用鏈接

    留言簿(1)

    我參與的團(tuán)隊

    隨筆分類(3)

    隨筆檔案(11)

    IT學(xué)習(xí)網(wǎng)站

    路過的博客

    搜索

    積分與排名

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 全免费a级毛片免费**视频 | 亚洲中文字幕在线无码一区二区| 三年在线观看免费观看完整版中文| 免费a级毛片在线观看| 亚洲成AV人影片在线观看| A级毛片内射免费视频| 亚洲精品国产suv一区88| 国产黄色片在线免费观看| 立即播放免费毛片一级| 亚洲AV无码一区二区三区在线观看| 成人精品国产亚洲欧洲| 亚洲高清最新av网站| 两性色午夜免费视频| 亚洲国产高清人在线| 皇色在线视频免费网站| 亚洲sss综合天堂久久久| 日本高清色本免费现在观看| 精品国产_亚洲人成在线| 亚洲香蕉网久久综合影视| 8x成人永久免费视频| 亚洲中文字幕久久精品无码A| 日韩激情无码免费毛片| 成人av片无码免费天天看| 亚洲精品免费在线观看| 久久精品a一国产成人免费网站 | 暖暖免费中文在线日本| 亚洲伊人久久大香线蕉综合图片| 91高清免费国产自产拍2021| 亚洲看片无码在线视频| 一区国严二区亚洲三区| 久久精品免费视频观看| 亚洲精品国产日韩| 久久久久亚洲精品天堂久久久久久 | 亚洲av无码成h人动漫无遮挡 | 久久精品国产精品亚洲精品| 综合在线免费视频| 免费一级特黄特色大片| 亚洲丝袜美腿视频| 亚洲成?Ⅴ人在线观看无码| 99在线在线视频免费视频观看 | 国产一级高青免费|