上一页 1 2 3 4 5 6 7 8 ··· 24 下一页
摘要: 接上一篇:log4j2 运行项目后不会自动生成日志文件、或不会自动向日志文件中写入日志 解决方法: 加入: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</ar 阅读全文
posted @ 2024-09-22 14:18 刘贵庆 阅读(589) 评论(0) 推荐(0)
摘要: 报错: ERROR StatusLogger NoSql contains an invalid element or attribute "MongoDb"ERROR StatusLogger NoSQL provider not specified for appender [databaseA 阅读全文
posted @ 2024-09-22 14:05 刘贵庆 阅读(99) 评论(0) 推荐(0)
摘要: 1 import com.alibaba.fastjson.JSON; 2 import com.alibaba.fastjson.JSONObject; 3 import com.lgq.ai.YouProjectApplication; 4 import com.lgq.ai.service.X 阅读全文
posted @ 2024-09-22 12:49 刘贵庆 阅读(38) 评论(0) 推荐(0)
摘要: import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; public class MyComponent { @Value("${my.pr 阅读全文
posted @ 2024-09-22 12:05 刘贵庆 阅读(94) 评论(0) 推荐(0)
摘要: 大多同学说的不是很全,写的不是很具体。 在此,本人出一篇简单明了的详细教程: 目录: 1、加载log4j 2包 2、配置xml文件 3、写测试并运行 4、log指定文件:自动打印info、error日志 5、整体code 正文: 1、加载log4j 2包 <dependency> <groupId> 阅读全文
posted @ 2024-09-22 11:19 刘贵庆 阅读(191) 评论(0) 推荐(0)
摘要: ​ 仅用离线版Notepad搞定。不用插件及辅助工具,有效保证了文件信息安全。 (一般发布版本都是无注释的-压缩文件和已编译文件。为了信息安全性,所有都是离线-区域网研发。) ​ 总结: 先把文本中注释去掉。 notepad++ 【编辑】-【空白字符操作】-【移除行首和行尾空格】 点击任意行行尾,不 阅读全文
posted @ 2024-09-15 12:42 刘贵庆 阅读(67) 评论(0) 推荐(0)
摘要: 先看效果: 代码: <form id="fileUpload" action="" method="post" enctype="multipart/form-data"> <input type="file" name="file" id="file"> <button type="submit" 阅读全文
posted @ 2024-08-29 18:35 刘贵庆 阅读(160) 评论(2) 推荐(0)
摘要: ​ 还是有些同学,没有真正弄清楚:js基础知识。特意写篇文章。 还有些同学呢基础没搞懂就开始看底部源码了。这就好比开车司机要安装调试曲轴连瓦。(深层次的有一定经验了再学。不然的话,学到啥时候是个头?) 未完待续............ ​ 阅读全文
posted @ 2024-08-25 11:41 刘贵庆 阅读(42) 评论(0) 推荐(0)
摘要: package com.lgq.ai.Util; import java.util.Arrays; public class FileTypeUtil { public static int fileType(String fileName) { if (!StringUtil.isEmpty(fi 阅读全文
posted @ 2024-08-20 20:07 刘贵庆 阅读(71) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 24 下一页