I am trying to set cell type value by passing XSSFCell.CELL_TYPE_STRING. But it is throwing error "No static property descriptor found for property, CELL_TYPE_STRING"
cell.setCellType(XSSFCell.CELL_TYPE_STRING)
first check your imports, XSSFCell class supposed to belong to
package org.apache.poi.xssf.usermodel;
maybe there is smth wrong with imports
also you can try
Cell.CELL_TYPE_STRING
.setCellType
expekts int as an argument should be no difference