Limitation while generating excel drop down list with Apache POI

后端 未结 3 1026
时光说笑
时光说笑 2020-12-02 21:54

I\'m trying to generate an excel file with some validations, I\'ve read the poi dev guides for implementing it. During implementation, I got an exception (String lite

3条回答
  •  無奈伤痛
    2020-12-02 22:21

    Above code works fine. But if I use XSSF classes instead of HSSF, it fails saying Exception in thread

    "main" java.lang.NoSuchMethodError: org.apache.poi.ss.formula.FormulaParser.parse(Ljava/lang/String;Lorg/apache/poi/‌​ss/formula/FormulaParsingWorkbook;II)[Lorg/apache/poi/ss/formula/ptg/Ptg; at org.apache.poi.xssf.usermodel.XSSFName.setRefersToFormula(XSSFName.java:195) at XLDropdown.main(XLDropdown.java:35)
    

    To create dropdown list using XSSF interfaces I got the solution at

    create dropdown list using apache poi XSSF interfaces

提交回复
热议问题