![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java
小白的成长之路you
这个作者很懒,什么都没留下…
展开
-
java发送post请求
public static String post(String url, Map<String, String> reqParam) throws ClientProtocolException, IOException {CloseableHttpClient httpclient = HttpClients.createDefault();try {// 创建httppost.HttpPost httppost = new HttpPost(url);//setConnectTi原创 2021-03-17 15:22:39 · 2161 阅读 · 4 评论 -
idea控制台乱码问题解决
1.file ——>settings——>finle encodings将下图三处改为utf-82.help——>edit custom vm options打开文件后在文件末尾加-Dfile.encoding=utf-8原创 2020-11-04 17:08:30 · 113 阅读 · 0 评论 -
一般小型项目的application.yml配置文件
server:port: 8091servlet:context-path: /spring:datasource:#引入druid数据源type: com.alibaba.druid.pool.DruidDataSourcedriver-class-name: com.mysql.jdbc.Driverurl: jdbc:mysql://192.168.204.1:3306/j...原创 2019-11-11 15:43:06 · 203 阅读 · 0 评论 -
SpringBoot常用依赖
<?xml version="1.0" encoding="UTF-8"?>4.0.0org.springframework.bootspring-boot-starter-parent2.1.9.RELEASE com.cyCGB-DB-SYS-V3.010.0.1-SNAPSHOTCGB-DB-SYS-V3.01Demo project for Sprin...原创 2019-10-18 10:59:10 · 149 阅读 · 0 评论