![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
排错
35s
这个作者很懒,什么都没留下…
展开
-
使用Mybatis-Plus自动填充时间失败,不生效
要填充的实体类属性的类型要和元数据处理方法中的反射类型一样1. 官方最新的方法@Data@AllArgsConstructor@NoArgsConstructorpublic class User { @TableId(type = IdType.AUTO) private Long id; private String name; private Integer age; private String email; @TableFiel原创 2021-05-27 14:41:14 · 4462 阅读 · 1 评论 -
IDEA-Tomcat打印输出控制台乱码
在最后一行添加-Dfile.encoding=UTF-8原创 2021-04-28 16:10:38 · 362 阅读 · 0 评论 -
zuul-Error during filtering
开启zuul ,控制台报错 Error during filtering解决方法:在配置文件中加入如下配置后重新启动zuulribbon: ReadTimeout: 60000 ConnectTimeout: 60000hystrix: command: default: execution: isolation: thread: timeoutInMilliseconds: 60000...原创 2021-04-23 09:51:13 · 4088 阅读 · 2 评论 -
springcloud-zuul报错
Caused by: com.netflix.client.ClientException: Load balancer does not have aForwarding error我搜了很多,无论是设置什么timeout,还是其他的都没有效果最后发现是因为Zuul需要Eureka的jar包,所以引入Eureka的jar包就可以了 <dependency> <groupId>org.springframework.cloud</gr原创 2021-04-10 21:43:02 · 181 阅读 · 0 评论 -
Unable to infer base url. ......Please enter the location manually:进不去swagger页面
Unable to infer base url. This is common when using dynamic servlet registration or when the API is behind an API Gateway. The base url is the root of where all the swagger resources are served. For e.g. if the api is available at http://example.org/api/v2原创 2021-02-19 18:32:42 · 1822 阅读 · 1 评论