在eclipse里头用checkstyle检查项目出现 File contains tab characters (this is the first instance)原因 就是文件里面有制表符,通常是使用tab键缩进造成的。代码中缩进不推荐使用制表符,建议将制表符替换为4个空格。在菜单中可设置。