上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 21 下一页

2019年4月13日

spring boot 项目在启动时执行指定sql文件

摘要: 参考博客: https://www.jianshu.com/p/88125f1cf91c 1. 启动时执行 当有在项目启动时先执行指定的sql语句的需求时,可以在resources文件夹下添加需要执行的sql文件,文件中的sql语句可以是DDL脚本或DML脚本,然后在配置加入相应的配置即可,如下: 阅读全文

posted @ 2019-04-13 21:15 努力做一个伪程序员 阅读(6862) 评论(0) 推荐(0) 编辑

2019年3月31日

SpringCloud的学习记录(8)

摘要: 这一章节讲zipkin-server.在我们生成的Demo项目上右键点击New->Module->spring Initializr, 然后next, 填写Group和Artifact等信息,这里Artifact填写zipkinserver, 再次next, 选择内容如下的pom.xml: 4.0.0 org.springframework.boot sp... 阅读全文

posted @ 2019-03-31 17:05 努力做一个伪程序员 阅读(392) 评论(0) 推荐(0) 编辑

SpringCloud的学习记录(7)

摘要: 这一章节讲zuul的使用.在我们生成的Demo项目上右键点击New->Module->spring Initializr, 然后next, 填写Group和Artifact等信息,这里Artifact填写eurekazuul, 再次next, 选择内容如下的pom.xml: 4.0.0 org.springframework.boot spring-boo... 阅读全文

posted @ 2019-03-31 15:05 努力做一个伪程序员 阅读(286) 评论(0) 推荐(0) 编辑

SpringCloud的学习记录(6)

摘要: 这一章节讲fegin的使用.在我们生成的Demo项目上右键点击New->Module->spring Initializr, 然后next, 填写Group和Artifact等信息,这里Artifact填写feginclient, 再次next, 选择内容如下的pom.xml: 4.0.0 org.springframework.boot spring-b... 阅读全文

posted @ 2019-03-31 14:15 努力做一个伪程序员 阅读(356) 评论(0) 推荐(0) 编辑

2019年3月30日

SpringCloud的学习记录(5)

摘要: 这一章节讲如何使用ribbon和hystrix.在我们生成的Demo项目上右键点击New->Module->spring Initializr, 然后next, 填写Group和Artifact等信息,这里Artifact填写ribbonconsumer, 再次next,这里选择如下图:最后在Module Name中填写ribbon-consumer.生成的pom.xml文件如下: 4.0.... 阅读全文

posted @ 2019-03-30 17:39 努力做一个伪程序员 阅读(243) 评论(0) 推荐(0) 编辑

SpringCloud的学习记录(4)

摘要: 本篇基于上一篇写的, 在git上更改配置后, eureka-client如何更新.我们只需要在配置文件中配置 spring-cloud-starter-bus-amqp;这就是说我们需要装rabbitMq;一定要先安装erlang, 成功后再安装rabbitmq. 切记1. 先去下载erlang, 我的电脑是64位的,下载的是OTP 21.3 Windows 64-bit Binary File.... 阅读全文

posted @ 2019-03-30 16:45 努力做一个伪程序员 阅读(414) 评论(0) 推荐(0) 编辑

2019年3月27日

SpringCloud的学习记录(3)

摘要: 这一章节讲搭建config-server的项目. 在我们生成的Demo项目上右键点击New->Module->spring Initializr, 然后next, 填写Group和Artifact等信息, 这里Artifact填写configserver, 再次next, 这里选择的Web下的web 阅读全文

posted @ 2019-03-27 16:18 努力做一个伪程序员 阅读(216) 评论(0) 推荐(0) 编辑

SpringCloud的学习记录(2)

摘要: 这一章节主要讲如何搭建eureka-client项目. 在我们生成的Demo项目上右键点击New->Module->spring Initializr, 然后next, 填写Group和Artifact等信息,这里Artifact填写eurekaclient, 再次next,这里选择的Web下的web和Cloud Discovery下的Eureka Discovery.最后在Module Name... 阅读全文

posted @ 2019-03-27 11:56 努力做一个伪程序员 阅读(191) 评论(0) 推荐(0) 编辑

2019年3月26日

SpringCloud的学习记录(1)

摘要: 最近一段时间重新学习一边SpringCloud,这里简单记录一下。 我用的是IntelliJ IDEA开发工具, SpringBoot的版本是2.1.3.RELEASE。 1. 构建Maven项目 整个的SpringCloud的项目是在Maven项目中的,这个Maven只做容纳其他项目使用, 比如后 阅读全文

posted @ 2019-03-26 20:25 努力做一个伪程序员 阅读(167) 评论(0) 推荐(0) 编辑

2019年3月21日

jquery-ui sortable 排序

摘要: https://blog.csdn.net/u013066244/article/details/51954198 <link ref="stylesheet" href="jquery-ui.min.css"/><script type="text/javascript" src="jquery. 阅读全文

posted @ 2019-03-21 20:33 努力做一个伪程序员 阅读(653) 评论(0) 推荐(0) 编辑

上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 21 下一页

导航