会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
毁乐乖狂,自有诪张
不稼不穑,耕怠者无获;不了不当,事辍者无功
新随笔
管理
上一页
1
2
3
4
5
下一页
2019年12月16日
Invalid character found in the request target. The valid characters are defined in RFC 7230 and RF
摘要: SpringBoot 请求参数包含 [] 特殊符号 返回400状态 //springBoot 启动类 添加 bean @Bean public TomcatServletWebServerFactory tomcatServletWebServerFactory (){ // 修改内置的 tomca
阅读全文
posted @ 2019-12-16 10:43 毁乐乖狂,自有诪张
阅读(490)
评论(0)
推荐(0)
2019年11月29日
git 相关
摘要: 一、一个小时学会git:https://www.cnblogs.com/best/p/7474442.html 二、fetch fatal: Refusing to fetch into current branch refs/heads/dev of non-bare repo http://bl
阅读全文
posted @ 2019-11-29 18:22 毁乐乖狂,自有诪张
阅读(570)
评论(0)
推荐(0)
2019年11月19日
网络资源url转化为file对象下载文件;https地址url.openStream()时ssl证书忽略
摘要: 注:只测试过网络图片资源。 一、使用org.apache.commons.io.FileUtils 二、 三、httpURLConnection.disconnect(); 四、 import org.apache.commons.io.FileUtils; import org.apache.co
阅读全文
posted @ 2019-11-19 13:40 毁乐乖狂,自有诪张
阅读(9679)
评论(0)
推荐(0)
2019年11月5日
java8 stream/optional个人测试demo记录
摘要: 备忘记录 package cc.ash; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.util.ArrayList; import java.ut
阅读全文
posted @ 2019-11-05 15:01 毁乐乖狂,自有诪张
阅读(233)
评论(0)
推荐(0)
2019年11月4日
jpa @Query()参数设置,:冒号方式、?NO.问号方式、实体类对象参数设置
摘要: 一、service层事务(update/delete) @Transactional(rollbackFor = Exception.class) 二、@Query()参数设置 ?x 和:XX不能混用 package cc.ash.test; import org.springframework.d
阅读全文
posted @ 2019-11-04 19:09 毁乐乖狂,自有诪张
阅读(12736)
评论(0)
推荐(0)
2019年10月31日
idea开发环境设置:编码、代码提示大小写、窗口数量限制、自动导包、serialID、重复代码警告、热部署、创建包类图标、解除xml sql警告等
摘要: idea-file-setttings设置的是当前项目的配置(只针对当前项目生效) idea-file-others settings相当于以后导入创建项目的默认设置 一、字体编码 BOM(Byte Order Mark),字节顺序标记。 百科:https://baike.baidu.com/ite
阅读全文
posted @ 2019-10-31 14:02 毁乐乖狂,自有诪张
阅读(1202)
评论(0)
推荐(0)
java合并数组的几种方法,stream流合并数组、打印二维数组
摘要: 一、实例代码 package cc.ash; import org.apache.commons.lang3.ArrayUtils; import java.lang.reflect.Array; import java.util.Arrays; public class ArrayConcat {
阅读全文
posted @ 2019-10-31 11:30 毁乐乖狂,自有诪张
阅读(9497)
评论(0)
推荐(0)
git生成公钥public key并添加SSH key。git乌龟gerrit下推送git【server sent :publickey】
摘要: 一、key windows git 安装程序下载过慢。可以到可腾讯软件中心下载 网址链接 码云链接:http://git.mydoc.io/?t=180845#text_180845 博客链接: 方式一:https://blog.csdn.net/xb12369/article/details/78
阅读全文
posted @ 2019-10-31 10:22 毁乐乖狂,自有诪张
阅读(7079)
评论(0)
推荐(0)
maven将本地jar包引入本地maven仓库命令、maven生命周期、-D -P、-maven.test.skip和skipTests的区别
摘要: 一、maven安装命令。cmd窗口,idea中均可 mvn install:install-file -Dfile=F:\coding2pay\pay\lib/wxpay-sdk-3.0.9.jar -DgroupId=com.github.tedzhdz -DartifactId=wxpay-sd
阅读全文
posted @ 2019-10-31 10:01 毁乐乖狂,自有诪张
阅读(1004)
评论(0)
推荐(1)
2019年10月27日
fastjson简单使用demo,@JSONField注解属性字段上与set、get方法上。实体类toString(),实体类转json的区别;_下划线-减号大小写智能匹配
摘要: 一、demo代码 @JSONField注解属性字段上与set、get方法上。使用@Data注解(lombok插件安装最下方),对属性“笔名”【pseudonym】手动重写setter/getter方法 import com.alibaba.fastjson.JSON; import com.alib
阅读全文
posted @ 2019-10-27 16:02 毁乐乖狂,自有诪张
阅读(2469)
评论(1)
推荐(0)
上一页
1
2
3
4
5
下一页