原创 springboot使用thymeleaf模板引擎,controller返回視圖到templates/**.html報404

錯誤 使用模板引擎訪問路徑頁面返回404 pom文件 <dependency> <groupId>org.thymeleaf</groupId> <artifactI

原创 Eclipse安裝SVN插件-轉載

1、下載最新的Eclipse,我的版本是3.7.2 indigo(Eclipse IDE for Java EE Developers)版     如果沒有安裝的請到這裏下載安裝:http://eclipse.org/downloads/

原创 linux安裝docker使用阿里雲的鏡像

yum install docker systemctl start docker 使用阿里雲倉庫 vim /etc/docker/daemon.json 然後在空文件中添加一下內容 { "registry-mirrors

原创 MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException

文章引用https://www.cnblogs.com/guanfang508/p/5473350.html

原创 sourcetree點擊命令行沒反應

很簡單,git和sourcetree版本不匹配,升級git就完事了,git下載很慢的話點這個

原创 httpclient調用其他的項目返回值中文亂碼

我自己使用了一個HTTPClient 客戶端類調用方法跨域調用我的另一個項目,結果返回值中文亂碼了,加上, produces = "application/json;charset=utf-8"即可 ,這是springMVC引起的並不是我

原创 定時任務註解@Scheduled

@Scheduled(cron = "0 0 2 * * ?")  //每天凌晨兩點執行 void doSomethingWith(){ logger.info("定時任務開始......");

原创 關於 IntelliJ IDEA 中 Schedule for Addition 的問題

在我們使用 IntelliJ IDEA 的時候,經常會遇到這種情況,即: 從 SVN 檢出項目之後,並用 IDEA 首次打開項目,IDEA 會彈出如下選擇框: 如上圖所示,讓我們選擇是否將XXX.iml文件添加到 SVN 版本中。在這裏

原创 “此Flash Player 與您的地區不相容”,谷歌高版本,親測2019-2-28可以解決

這是原地址,解決方法如下 翻牆後纔是打開的正確的Adobe的官網下載地址:https://get.adobe.com/cn/flashplayer/ 這裏下載的Flash Player版本經過安裝後問題得到圓滿解決,不再出現地區不兼容的提

原创 springboot+idea熱部署(自動刷新)

近來在使用idea做springboot的項目,但是發現每次修改之後我都需要重新將項目關閉再開啓,這樣比較繁瑣,發現通過熱部署的方式讓我們可以一邊修改我們的項目,然後在頁面中直接通過刷新展示出來 spring爲開發者提供了一個名爲spri

原创 給centos重新安裝yum的base-repo源

https://blog.csdn.net/weixin_34199405/article/details/92076325

原创 SpringBoot集成Swagger2中遇到的問題

https://www.jianshu.com/p/840320d431a1

原创 springboot項目獲取resources路徑(相對路徑)

原文鏈接:https://blog.csdn.net/qq_29669265/article/details/89678077 轉載 https://blog.csdn.net/qq_29669

原创 org.apache.ibatis.binding.BindingException【原因彙總】

原文鏈接:https://blog.csdn.net/qq_29669265/article/details/89678077 轉載https://blog.csdn.net/qq_296692

原创 maven nexus 私服搭建運行報錯'Cannot open file ../sonatype-work/nexus3/log/jvm.log due to Permission denied'

  造成錯誤的原因也是巧合,我第一次創建nexus時出於容器權限的問題採用臨時關閉selinux的方法造成的遺留問題,第二次啓動被鎖了文件,報錯信息如下 OpenJDK 64-Bit Server VM warning: Cannot