随笔分类 -  java

File: 'java.lang.CharSequence': Invalid byte tag in constant pool: 18
摘要:Caused by: org.aspectj.apache.bcel.classfile.ClassFormatException: File: 'java.lang.CharSequence': Invalid byte tag in constant pool: 18 at org.aspect 阅读全文

posted @ 2020-11-12 15:34 梦回大唐886 阅读(1120) 评论(0) 推荐(1)

按层次打印指定目录下的文件和目录名称
摘要:import java.io.File; public class Io01 { public static void main(String[] args) { File file = new File("d:/temp"); getFiles(file, 0); } public static 阅读全文

posted @ 2020-11-12 14:24 梦回大唐886 阅读(88) 评论(0) 推荐(0)

mysql数据库报错:You can change this value on the server by setting the max_allowed_packet' variable.
摘要:1.先登录数据库,查看 max_allowed_packet 这个参数值 show variables like '%max_allowed_packate%'; 2.通过 mysql 命令更改这个值到 100M ! set global max_allowed_packet = 100*1024* 阅读全文

posted @ 2017-11-22 15:56 梦回大唐886 阅读(866) 评论(0) 推荐(0)

获取随机字符串可以自定义长度
摘要:今天刚刚开通博客,发一段小小的代码,希望大家共同进步。 阅读全文

posted @ 2016-12-01 11:11 梦回大唐886 阅读(659) 评论(1) 推荐(0)

导航