摘要: UnsupportedClassVersionError: JVMCFRE003 bad major version; class="org"/apache/commons/text/StringEscapeUtils 此错误启动应用时没有出现,调用方法的时候才出现, 使用的是commons-tex 阅读全文
posted @ 2020-11-07 16:06 雾中的-松 阅读(450) 评论(0) 推荐(0) 编辑
摘要: [11/2/20 0:20:10:672 CST] 000000af ServletWrappe E com.ibm.ws.webcontainer.servlet.ServletWrapper service Uncaught service() exception thrown by servl 阅读全文
posted @ 2020-11-02 00:49 雾中的-松 阅读(923) 评论(0) 推荐(0) 编辑
摘要: public static File findLatesFile(final String path, final String keyword) { return findLatesDirectory(path, keyword, false); } public static File find 阅读全文
posted @ 2020-10-27 15:58 雾中的-松 阅读(265) 评论(0) 推荐(0) 编辑
摘要: import java.io.File; import java.io.IOException; import java.io.StringWriter; import java.util.ArrayList; import java.util.HashMap; import java.util.I 阅读全文
posted @ 2020-10-21 02:45 雾中的-松 阅读(805) 评论(1) 推荐(0) 编辑
摘要: public static int getLineCount(File file) { long startTime = System.currentTimeMillis(); int lines = 0; try ( FileReader in = new FileReader(file); Li 阅读全文
posted @ 2020-10-16 19:04 雾中的-松 阅读(475) 评论(0) 推荐(0) 编辑
摘要: package com.xf.common.myutils; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; 阅读全文
posted @ 2020-10-16 16:41 雾中的-松 阅读(173) 评论(0) 推荐(0) 编辑
摘要: ls -lR|grep "^-"|wc -l ==> list file count of dir(include sub dir) 阅读全文
posted @ 2020-10-09 15:22 雾中的-松 阅读(74) 评论(0) 推荐(0) 编辑
摘要: public class DirDiff { public static String getFileMD5(File file) { if (!file.isFile()) { return null; } MessageDigest digest = null; byte buffer[] = 阅读全文
posted @ 2020-10-09 11:04 雾中的-松 阅读(149) 评论(0) 推荐(0) 编辑