![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
泥耳
这个作者很懒,什么都没留下…
展开
-
解决springcloud feign配置hystrix fallback方法无效
springcloud 2020.0.0版本fallback方法无效,但是降版本之后可行,原因暂时没去研究,下面是解决办法。修改springcloud版本为Hoxton.SR1。 <dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring原创 2021-01-19 17:43:52 · 4512 阅读 · 3 评论 -
Springboot使用FastJson中文乱码解决方法。
使用FastJson之前中文是没有乱码的,一旦使用了FastJson,接口返回数据用postman测试没乱码,但是直接传回到浏览器页面就会乱码。解决办法: @Override public void configureMessageConverters(List> converters) { super.configureMessageConverters(conv转载 2017-12-15 15:08:40 · 1860 阅读 · 0 评论 -
Intellij IDEA2017 创建SSM maven项目
Intellij IDEA2017 创建maven项目关于基础环境配置这里不做说明,只在idea上新建建maven项目。 本文章仅为学习过程中的记录笔记。原创 2017-12-07 23:18:32 · 16729 阅读 · 8 评论 -
SpringBoot使用DateTime报错解决办法
使用DateTime启动报了一下错误:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigur原创 2018-07-04 09:34:51 · 2127 阅读 · 0 评论 -
枚举
enum EnumTests { 上传(1,"da"),下载(2,"dasdasd"); int index; String name; private EnumTests(int index, String name) { this.index = index; this.name = name; } publ...原创 2018-07-01 19:52:56 · 158 阅读 · 0 评论