Jump to content
Changes to the Jaspersoft community edition download ×

n.manivel1911

Members
  • Posts

    1
  • Joined

  • Last visited

n.manivel1911's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi Guys, am using poi-3.2-FINAL-20081019.jar currently in my project. Recently facing the below issue when trying to build an excel CSV format report in my project java.lang.NoSuchMethodError: org.apache.poi.hssf.usermodel.HSSFSheet.addMergedRegion(Lorg/apache/poi/hssf/util/Region;) Can anyone help? Below is the code snippet import org.apache.poi.hssf.usermodel.*; import org.apache.poi.hssf.util.*; String reportId = "BLRFORD"; HSSFWorkbook workbook = new HSSFWorkbook(); HSSFSheet sheet = workbook.createSheet(reportId); Region cellRegion1 = new Region(1, (short)3, 1, (short)4); Region cellRegion2 = new Region(2, (short)3, 2, (short)4); Region cellRegion3 = new Region(3, (short)3, 3, (short)4); sheet.addMergedRegion(cellRegion1);
×
×
  • Create New...