上一页 1 2 3 4 5 6 ··· 20 下一页
摘要: // 多条件排序第二个写法,先按Age排序,再根据Salary排序 listDevs.sort(Comparator.comparing(Developer::getAge).thenComparing(Developer::getSalary)); https://my.oschina.net/s 阅读全文
posted @ 2020-12-30 17:39 jamess 阅读(1174) 评论(0) 推荐(0) 编辑
摘要: (注:以下针对mysql 5.0以上版本) mysql varchar(n) n表示字符个数,不是字节数。 对于utf8编码,无论是字符、数字、汉字均占3字节。varchar最大长度为65535个字节,最大可存储汉字数 = (65535-1-2)/3减1是因为实际存储从第2个字节开始减2是因为要在列 阅读全文
posted @ 2020-12-17 16:16 jamess 阅读(539) 评论(0) 推荐(0) 编辑
摘要: 一.@Value("#{}") 其实是SpEL表达式的值,可以表示常量的值,或者获取bean中的属性 @RestController @RequestMapping("/login") @Component public class LoginController { @Value("#{1}") 阅读全文
posted @ 2020-12-03 13:33 jamess 阅读(475) 评论(0) 推荐(0) 编辑
摘要: 异常提示: ​​​​​​​HV000030: No validator could be found for constraint 'javax.validation.constraints.NotEmpty' validating type 'java.lang.String'. Check co 阅读全文
posted @ 2020-11-24 14:47 jamess 阅读(900) 评论(0) 推荐(0) 编辑
摘要: 1.test范围是指测试范围有效,在编译和打包时都不会使用这个依赖2.compile范围是指编译范围内有效,在编译和打包时都会将依赖存储进去3.provided依赖,在编译和测试过程中有效,最后生成的war包时不会加入 例如: servlet-api,因为servlet-api tomcat服务器已 阅读全文
posted @ 2020-11-06 13:18 jamess 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 1 2 阅读全文
posted @ 2020-11-06 10:27 jamess 阅读(2559) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/breal/article/details/85062742 阅读全文
posted @ 2020-10-20 15:47 jamess 阅读(926) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/u012129558/article/details/78423511 阅读全文
posted @ 2020-10-19 16:13 jamess 阅读(128) 评论(0) 推荐(0) 编辑
摘要: http://www.58du.net/ultraiso-win10-an-zhuang-0x8007000d/ 删除U盘Sources\install.wim,虚拟光驱加载win10 iso, 管理员权限CMD运行以下命令: dism /Split-Image /ImageFile:@:\sour 阅读全文
posted @ 2020-10-05 19:31 jamess 阅读(512) 评论(0) 推荐(0) 编辑
摘要: 问题解决方法: 在application.properties文件中加入以下设置: logging.level.com=debug https://blog.csdn.net/qq_35389417/article/details/99592710 阅读全文
posted @ 2020-09-04 16:11 jamess 阅读(2549) 评论(0) 推荐(1) 编辑
上一页 1 2 3 4 5 6 ··· 20 下一页