博主首页
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 47 下一页
摘要: List<String> ret = new ArrayList<>(); PathMatchingResourcePatternResolver pathMatchingResourcePatternResolver = new PathMatchingResourcePatternResolve 阅读全文
posted @ 2022-04-26 16:56 笑~笑 阅读(395) 评论(0) 推荐(0)
摘要: nginx在代理时,后端拿不到前段发过去的请求头信息,导致接口不通。(但是在本地是可以拿到的) 主要原因为nginx在做反向代理时,没有在请求时添加头部信息的配置。 解决方法 1、在nginx中添加相应配置,使其能够携带头部信息通信 server { listen 443 ssl; server_n 阅读全文
posted @ 2022-04-24 20:46 笑~笑 阅读(1160) 评论(0) 推荐(0)
摘要: 可以设置一个对象交给spring管理,然后运行期进行设值,后面就可以在使用的时候获取了 阅读全文
posted @ 2022-04-22 17:53 笑~笑 阅读(283) 评论(0) 推荐(0)
摘要: 对象List里面指向了同一个对象, 也可以解析出来 关闭循环引用也可以正常转JSON JSON.toJSONString(jobSubmitVO, SerializerFeature.DisableCircularReferenceDetect) 阅读全文
posted @ 2022-04-21 14:58 笑~笑 阅读(46) 评论(0) 推荐(0)
摘要: More than one row with the given identifier was found 多对一的数据关系,查出来多条记录了 @ManyToOne 阅读全文
posted @ 2022-04-20 17:10 笑~笑 阅读(212) 评论(0) 推荐(0)
摘要: response.setContentType("application/octet-stream"); response.setHeader("Content-Disposition", "attachment;filename="+new String((System.currentTimeMi 阅读全文
posted @ 2022-04-18 16:57 笑~笑 阅读(331) 评论(0) 推荐(0)
摘要: @SuppressFBWarnings("DM_DEFAULT_ENCODING") @SuppressWarnings("all") 去掉告警信息,去除告警信息,忽略警告 忽略提示 阅读全文
posted @ 2022-04-18 09:43 笑~笑 阅读(90) 评论(0) 推荐(0)
摘要: SQL Error: 1526, SQLState: HY000,Table has no partition for value 738625 数据库分区错误 阅读全文
posted @ 2022-04-15 13:48 笑~笑 阅读(299) 评论(0) 推荐(0)
摘要: RequestInterfaceInitConfiguration.class.getCanonicalName() 获取当前包名、获取包名 阅读全文
posted @ 2022-04-13 18:48 笑~笑 阅读(103) 评论(0) 推荐(0)
摘要: Initialized JPA EntityManagerFactory for persistence unit 'default' <dependency> <groupId>org.javassist</groupId> <artifactId>javassist</artifactId> < 阅读全文
posted @ 2022-04-13 14:09 笑~笑 阅读(1740) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 47 下一页