springboot
肆方海木
みにくく い 生きよ う…
展开
-
Springboot中使用thymeleaf的一些配置
thymeleaf springboot默认配置模板引擎之一,与FreeMarker 类似,可完全替代JSP Springboot中的默认配置路径:src/main/resource/templates 1.在pom.xml中添加依赖 <dependency> <groupId>org.springframework.boo...原创 2018-09-03 21:14:19 · 6046 阅读 · 0 评论 -
Spring Cloud的版本代号
网上找了一些Cloud教程都有点怪,建议大家还是多看官方文档,怕忘记写下来以后随时可以看 Spring Cloud中文网 Spring Cloud中国社区 Spring Cloud没有数字版本号,只有对应的开发代号 在Spring的官网红色区域的版本选择 可以看到五个版本的Spring Cloud Finchley SR2 GA Finchley SNAPSHOT Ed...原创 2018-10-25 19:09:04 · 1042 阅读 · 0 评论 -
Spring Cloud Eureka实现服务治理
一、创建Maven主工程Cloud(与一般Maven工程无异) 二、创建服务注册中心子模块 registrycenter,选择Spring Initializr,Next Next,选择依赖的类库Eureka Server,Spring Boot版本选择最新,Next,Finish 模块创建完成,在主类上新增注解@EnableEurekaServer 在application....原创 2018-10-26 21:52:26 · 247 阅读 · 0 评论