05 2022 档案

摘要:each方法用来循环一个集合对象,接收一个闭包来处理这个对象,但当需要终止这个循环的时候就有问题了,这个时候需要使用传统的for(x in list){if return} 的方式来做。 files.each { Attachments attachments -> attachments?.typ 阅读全文
posted @ 2022-05-30 17:11 duchaoqun 阅读(176) 评论(0) 推荐(0) 编辑
摘要:错误信息如下: 点击查看代码 17-May-2022 15:57:07.913 SEVERE [main] org.apache.catalina.startup.HostConfig.deployWAR Error deploying web application archive [/opt/t 阅读全文
posted @ 2022-05-18 08:54 duchaoqun 阅读(557) 评论(0) 推荐(0) 编辑
摘要:journalctl命令 CentOS服务器中,目录:/var/log/journal 下的系统日志清理。 查询当前日志所占用的磁盘空间 journalctl --disk-usage Archived and active journals take up 128.0M on disk. 清理历史 阅读全文
posted @ 2022-05-16 16:09 duchaoqun 阅读(141) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示