你好 设置列的属性,肯定不是在cell上来完成,应该在sheet上进行设置。 sheet.setDefaultColumnStyle(short column, CellStyle style), 前面一个参数是列号,后面一个参数就是Style了,这样应该就可以了。