- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 Spring-Cloud-Config 多服务公共文件配置
问题描述 基于 spring-cloud微服务开发,通常会配置一个Spring-Cloud-Config-Server,各个客户端会通过Spring-Cloud-Config-Server从配置仓库拉取自己服务的配置,如何配置Spring-Cloud-Config-Server,可以参考本人前段时间写的文章“Spring-cloud Config Server 3种配置方式”。 ...
2018-08-29 11:59:05 15374 2
原创 jpa-JpaSpecificationExecutor子查询等功能使用
JpaSpecificationExecutor接口,该接口提供了如下一些方法:public interface JpaSpecificationExecutor<T> { T findOne(Specification<T> spec);//根据sql获取单个对象数据 List<T> findAll(Specification&l...
2018-08-29 09:07:02 5582 3
原创 Window系统如何利用命令杀死占用端口中的进程
最近开发项目比较大,有时候在使用eclipse的时候开发的时候,eclipse会出现未响应情况,等好久都不能恢复,但是eclipse已经有项目运行中,如果直接关闭,重新打开eclipse,运行项目,项目启动时候会报端口已被占用的情况,原来傻傻的把电脑重启一下,后来有一天受不了了,要想办法解决!可以利用命令,查找对应端口的进程号,然后kill掉它即可第一步,打开cmd命令窗口,输入命令,查找端口...
2018-08-18 12:23:55 742
原创 springcloud之Feign的使用
首先引用spring官网对Feign的解析:Feign is a declarative web service client. It makes writing web service clients easier. To use Feign create an interface and annotate it. It has pluggable annotation support in...
2018-08-13 11:47:53 1045
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人