![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springnboot
liulang1905
这个作者很懒,什么都没留下…
展开
-
configserver端报TransportExceptionxxxxcannot open git-upload-p
问题最后很简单的解决了,我这里只是改了配置文件 **先看一下有问题的配置文件 ** spring: cloud: config: server: git: uri: https://github.com/xxx/xxxxx.git username: 2404641338@qq.com password: /*.qwe123456 default-label: master #配置文件分支原创 2021-05-30 15:13:35 · 303 阅读 · 0 评论 -
spring config client 客户端没拿到值
这里先说一下我的原因,有点傻,主要是没有配置 application name的问题 具体原因我也不太清楚,主要是百度了很多突然发现我的 bootstrap.yml 少配置了一项 下面给出过程 **首页是有问题的 yaml 配置 这里是没有配置 application name 死活拿不到值 ** server: port: 8084 spring: profiles: active: dev --- spring: profiles: dev cloud: config:原创 2021-05-30 15:00:37 · 101 阅读 · 0 评论 -
使用WebMvcConfigurationSupport导致乱码问题
原因添加链接描述 解决方法参照添加链接描述 百度找到的原因是因为 WebMvcConfigurationSupport ,会导致springboot的自动装配编码使用 ISO8859-1,所以我们在往前端扔中文时就乱码了 解决方法 yaml文件添加 server: tomcat: uri-encoding: UTF-8 spring: http: encoding: charset: UTF-8 enabled: true force: true原创 2021-05-21 15:43:20 · 866 阅读 · 1 评论