![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
框架
Spring框架
TheBegin
2 be better.
展开
-
Spring Cloud:在线更新配置信息
如果要更新某一个应用的配置,使用指令 curl -X POST http://localhost:9001/refesh 对于一个应用来说,用过在线更新管理,并不是所有的配置信息都能生效,有些配置,比如有关连接数据源的配置,在应用启动时候就已经建立了数据库的连接,而在线更新配置并不更改这种配置 如果要使程序能够获取更新的配置信息,需要加 @RefreshScope ...原创 2019-11-27 21:40:58 · 163 阅读 · 0 评论 -
SpringBoot连接MySQL出现The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized错误
控制台报错 The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone 解决方法: 在application.properties中 spring.datasource.url=jdbc:mysql://localhost:3306/test 换成 s...原创 2019-03-14 14:00:35 · 670 阅读 · 0 评论