import lombok.Data;
import org.simpleflatmapper.map.annotation.Column;
@Data
public class GenGrid {
@Column("gird_x")
private int gridX;
@Column("gird_y")
private int gridY;
}
CsvWriter<GenGrid> writer = CsvWriter.from(GenGrid.class)
.to(appendable);
GenGrid value = new GenGrid();
writer.append(value);
throw:
org.simpleflatmapper.map.MapperBuildingException: Could not find eligible property for 'grid_y'
sorry been late on that,
is there a setter or a constructor that set gridY? I assume lombok is doing that? could you send the .class generated for GenGrid?
also there no need for the @Column annotation
simpleflatmapper.version:8.2.3
throw:
org.simpleflatmapper.map.MapperBuildingException: Could not find eligible property for 'grid_y'