![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring cloud
不夜城的油条
这个作者很懒,什么都没留下…
展开
-
Spring Cloud项目启动,Tomcat报端口已被使用
因为用feign,所以引用了另一个Spring Cloud项目。而另外一个项目的server.port写在application.properties中。替换了本地项目的配置文件。把另外一个项目server.port写在bootstrap.properties中。再次引用,问题解决。...原创 2017-11-09 09:53:03 · 1435 阅读 · 0 评论 -
spring cloud 随笔记录
Server的配置在ServerProperties中。原创 2017-11-09 10:09:33 · 177 阅读 · 0 评论 -
Spring Cloud使用BootstrapConfiguration配置启动加载项
使用BootstrapConfiguration加载,等同于bootstrap.yml中的配置使用PropertySourceLocator接口@Configurationpublic class BootstrapConfigurer implements PropertySourceLocator { private static final Logger log = L...原创 2018-11-15 16:11:42 · 14411 阅读 · 1 评论