spring boot
骑猪撞地球QAQ
所有的美好,都值得等待。
展开
-
java.net.SocketTimeoutException: Read timed out 异常
java.net.SocketTimeoutException: Read timed out 异常解决问题描述: 使用RestTemplate调用对接系统接口时出现该异常原因: httpClient在获取链接时候超时解决: 将超时时间设置更长 SimpleClientHttpRequestFactory requestFactory = new SimpleClientHttpRequestFactory(); // 设置超时 单位为ms requestFac原创 2021-04-22 17:48:37 · 28594 阅读 · 0 评论 -
项目启动失败问题累积
conflicts with existing, non-compatible bean definition of same name and class原创 2020-12-10 18:02:01 · 714 阅读 · 0 评论 -
Springboot中使用mongo.以及mongo的索引
Springboot使用mongo在使用springboot项目中使用mongo时,编写完成后报错.找不到方法2020-03-27T16:22:29,974 ERROR [http-nio-8122-exec-1] n.d.c.s.e.ClobExceptionAdvance: 系统异常 org.apache.ibatis.binding.BindingException: Invalid b...原创 2020-03-27 16:32:15 · 758 阅读 · 0 评论 -
Springboot存储零时图片
Springboot存储零时图片目的是为了给图片加上水印 包括文字和图片水印 然后将图片保存至文件服务器 返回前端路径 `遇到的问题: 1. 在加完水印之后图片需要输出保存 2. 从文件服务器获取图片时需要使用的URL URL url = new URL(path); Image srcImg = ImageIO.read(ur...原创 2020-03-16 17:19:09 · 402 阅读 · 0 评论 -
SpringBoot注解最全详解
转载SpringBoot注解最全详解(整合超详细版本)原文链接:https://blog.csdn.net/ityouknow/article/details/80490926使用注解的优势: 1.采用纯java代码,不在需要配置繁杂的xml文件 2.在配置中也可享受面向对象带来的好处 3.类型安全对重构可以提供良好的支持 4.减少复杂配置文件的同时亦能享受到springIoC...转载 2019-11-26 18:03:50 · 190 阅读 · 0 评论