摘要: 参考:https://blog.csdn.net/wang864676212/article/details/82626922 pom.xml 引入 <plugin> 不过这样做的话,这个 receivedforfront 目录里的 jar 包就不会被打包进 war 了,使用项目时,报500错误,发 阅读全文
posted @ 2019-03-08 18:17 由良大小姐 阅读(474) 评论(0) 推荐(0) 编辑
摘要: 今天用 restTemplate 获取那种红叉的https证书(或者可能绿色证书也是),发现抛出异常:nested exception is javax.net.ssl.SSLHandshakeException 查了一下,查到了这篇:https://www.cnblogs.com/0201zcr/ 阅读全文
posted @ 2019-03-08 17:35 由良大小姐 阅读(584) 评论(0) 推荐(0) 编辑
摘要: get 请求(这里是在 idea 的 test包中,所以需要直接 new RestTemplate() ) 即:RestTemplate restTemplate = new RestTemplate(); post 请求(这里是在非test包中,所以可以自动注入): 阅读全文
posted @ 2019-03-08 11:43 由良大小姐 阅读(529) 评论(0) 推荐(0) 编辑