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

相关文章
相关标签/搜索