10 2021 档案
摘要:用原来的dev能正常启动,但换成自己新添加的yml文件,却无法启动 一行日志都没有,只有这一行:Disconnected from the target VM, address: '127.0.0.1:63190', transport: 'socket' 其实是启动起来了的,只是logback-s
阅读全文
摘要:https://www.jianshu.com/p/dbf08a8fec37
阅读全文
摘要:https://blog.csdn.net/weixin_33274610/article/details/113187400
阅读全文
摘要:https://www.cnblogs.com/wuhenzhidu/p/10740091.html
阅读全文
摘要:调用方法时提示方法上的注释 (试了启动这个不行,哈哈,用下面这个) 亲测有效~ 自动导入引用挺爽的,有没有自动移除未使用的引用呢? 在 File | Settings | Editor | General | Auto Import 中,将 Optimize imports on the fly (
阅读全文
摘要:public static String random(int count, boolean letters, boolean numbers) /** * count 创建一个随机字符串,其长度是指定的字符数,字符将从参数的字母数字字符集中选择,如参数所示。 * letters true,生成的字
阅读全文
摘要:1、Method/Class “XXX” is never used步骤File–>Settings–>Editor–>Inspections–>Java–>Declaration redundancy–>取消勾选Unused declaration 2、Typo-In word “” more…(
阅读全文
摘要:实体字段校验 @NotNull、@NotEmpty、@NotBlank1.@NotNull 不能为 null,但可以为 empty,一般用在 Integer 类型的基本数据类型的非空校验上,而且被其标注的字段可以使用 @size、@Max、@Min 对字段数值进行大小的控制 2.@NotEmpty
阅读全文
摘要:老实配置数据源,或: Disable this SQL dialect detection inspection on the Inspection options on the IDE settings: 参考:https://stackoverflow.com/questions/4293357
阅读全文