Spring-cloud 學習資料整理

特別注意:開發中可能出現對應的資源或路徑找不到或者服務註冊路徑錯誤或靜態資源找不到,這時候須要編譯下對應的資源文件或代碼文件或靜態資源文件      或者直接IDE中clean下項目php

特別注意:SringBootApplication 啓動類默認只掃描其全部子包下的類。html

spring-cloud源碼地址:https://github.com/spring-cloudjava

idea下 devtools熱部署配置:https://www.cnblogs.com/sprinkle/p/7058630.htmlgit

idea下  spring-loader 熱部署 :http://blog.csdn.net/u013088059/article/details/54864413github

http://git.oschina.net/didispace/SpringBoot-Learningweb

spring-boot Examples 源碼地址:https://github.com/spring-projects/spring-boot/tree/v1.2.5.RELEASE/spring-boot-samplesspring

教程源碼:http://git.oschina.net/zhou666/spring-cloud-7simplesegmentfault

LoadBalancerClient 服務配置讀取:http://www.tuicool.com/articles/VbURJzQapi

RestTemplate : Rest客戶端

http://blog.csdn.net/liaokailin/article/details/51314001tomcat

負載均衡:http://blog.csdn.net/zeb_perfect/article/details/52008192

Consul服務註冊與發現:http://www.cnblogs.com/java-zhao/p/5527779.html

Sring-boot入門:http://jinnianshilongnian.iteye.com/blog/1997192

靜態資源:http://blog.csdn.net/isea533/article/details/50412212

SVN配置服務器:http://lvdccyb.iteye.com/blog/2282407

關閉自動掃描:http://www.cnblogs.com/lazio10000/p/5510852.html

心跳檢測:http://blog.csdn.net/zhuchuangang/article/details/51202307

spring-cloud tomcat啓動的兩種方式:http://blog.csdn.net/redstarofsleep/article/details/49815009

注意:使用外部tomcat時,需刪除嵌入的Tomcat包【tomcat-embed- 開頭的包,還有ecj-x.x包】,否則會出現servet jar包衝突的問題,沒法啓動。默認內嵌tomcat訪問不帶項目名,使用外部tomcat須要注意項目名的問題

JSP支持:http://sunbin.iteye.com/blog/2292665  https://github.com/spring-projects/spring-boot/tree/master/spring-boot-samples/spring-boot-sample-web-jsp

http://blog.csdn.net/lmy86263/article/details/51622522

注意:內嵌Tomcat要引入tomcat-embed-jasper 的jsp解析包 和( 低版本Tomcat 還須要 jasper-jdt-6.0.29.jar,高版本須要ecj-4.5.jar此包) 若是使用了JSTL也須要引入,同時要使用@Controller 註解 @RestController不支持JSP,最簡單的辦法下個tomcat-embed 安裝包解壓開將下面的包所有拷貝過來就行。

Properties配置文件讀取:http://wiselyman.iteye.com/blog/2184586

可運行JAR內存調整:

start java -Xmx256m -Xms128m -jar test.jar

過濾器、監聽、Servelt配置:http://blog.csdn.net/yxsimple/article/details/46771123

SpringBoot - Druid配置:http://blog.csdn.net/catoop/article/details/50925337

結合SpringLoaded實現熱部署:http://doc.okbase.net/wiselyman/archive/107470.html

Maven本地jar依賴: http://www.blogjava.net/miaoyachun/archive/2013/10/30/405795.html

Maven依賴打包:http://blog.csdn.net/ww694303720/article/details/44810803

                  http://blog.csdn.net/defonds/article/details/43233131

Gradle可運行jar : http://blog.jobbole.com/72558/

Gradle SpringBoot 可運行jar : http://www.cnblogs.com/yjmyzz/p/executable-jar.html

Gradle-SpringBoot項目構建:http://blog.jobbole.com/99638/

SpringBoot文件上傳:http://wen66.iteye.com/blog/2060397

SpringBoot文件下載:http://blog.csdn.net/chenqk_123/article/details/47086199

SpringBoot 攔截器:http://lihao312.iteye.com/blog/2078139

                                 http://www.oschina.net/code/snippet_240535_57967

RestTemplate 使用httpClient線程池方式調用 :http://www.open-open.com/lib/view/open1436018677419.html

SpringBoot自定義異常:http://blog.csdn.net/whatlookingfor/article/details/51548923

SpringBoot異常頁面自定義:http://blog.csdn.net/github_32521685/article/details/50198467

SpringBoot 模板:http://jisonami.iteye.com/blog/2301387 

                             http://blog.csdn.net/u012706811/article/details/52185345

                             http://blog.csdn.net/quuqu/article/details/52511933

SpringBoot Thymeleaf 模板中特殊字符處理:http://blog.csdn.net/u013593306/article/details/50372065

                                                                     http://www.blogjava.net/bjwulin/archive/2013/02/07/395234.html

教程:http://blog.csdn.net/linxingliang/article/details/52017098

配置文件:http://www.cnblogs.com/clivelee/p/3810006.html

靜態資源路徑配置:http://blog.csdn.net/isea533/article/details/50412212

                                http://blog.csdn.net/catoop/article/details/50501706

            configer:http://www.programcreek.com/java-api-examples/index.php?api=org.springframework.web.servlet.resource.ResourceHttpRequestHandler

監控:SpringBoot四大神器之Actuator

靜態資源POST 405解決:在Spring框架出現 405 request method post not supported 的解決方法

index.html 配置:http://stackoverflow.com/questions/27381781/java-spring-boot-how-to-map-my-app-root-to-index-html

上下文:http://blog.csdn.net/liaokailin/article/details/49010275

定製消息轉換器:http://www.jianshu.com/p/ffe56d9553fd

api網關:http://www.th7.cn/Program/java/201607/913111.shtml

springBoot 優化:

    http://blog.csdn.net/github_32521685/article/details/50463895

   http://412887952-qq-com.iteye.com/blog/2361583

相關文章
相關標籤/搜索