Results 1 to 3 of 3

Thread: Exception

  1. #1
    sreejit is offline Member
    Join Date
    Oct 2009
    Posts
    2
    Rep Power
    0

    Default Exception

    I'm getting the below exception at runtime .



    java.lang.NoSuchMethodError: hasPOIFSHeader.
    java.lang.NoSuchMethodError: hasPOIFSHeader
    at org.apache.poi.ss.usermodel.WorkbookFactory.create (WorkbookFactory.java:58)
    at com.db.dcs.utils.ExcelReadWriter.getSheetData(Exce lReadWriter.java:77)
    at com.db.dcs.job.reader.tax.upload.TaxUploadJOBARead er.read(TaxUploadJOBAReader.java:123)
    at com.db.dcs.model.ejb.message.job.NewJobTriggerHelp er.iterate(NewJobTriggerHelper.java:450)
    at com.db.dcs.model.ejb.message.job.NewJobTrigger.ite rate(NewJobTrigger.java:475)
    Truncated. see log file for complete stacktrace
    >

    Please help me out.

  2. #2
    sreejit is offline Member
    Join Date
    Oct 2009
    Posts
    2
    Rep Power
    0

    Default

    I'hv already included the jars
    poi-3.5-beta5-20090219.jar , poi-ooxml-3.5-beta5.jar
    and compilation is successful , yet problem is at run time.

  3. #3
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    7

    Default

    Do you have more than one version of those jars? Make sure the version you used to compile is the same one you used for running.

Similar Threads

  1. Replies: 4
    Last Post: 10-25-2010, 07:42 PM
  2. Need help on Exception
    By Deon in forum New To Java
    Replies: 7
    Last Post: 02-11-2010, 05:46 PM
  3. Need Help with exception
    By maggie_2 in forum New To Java
    Replies: 7
    Last Post: 11-26-2008, 11:45 PM
  4. Replies: 1
    Last Post: 03-08-2008, 06:41 PM
  5. Exception
    By Camden in forum New To Java
    Replies: 2
    Last Post: 11-26-2007, 11:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •