• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java.lang.NoSuchMethodError for org.apache.poi.hssf.usermodel.HSSFPatriarch.createComment()

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi i am facing problem when i am downloading excell sheet from servlet, then it is showing following error.


actually no errors are showing when i compiled in weblogic workshop10.3. i am facing this issue at runtime.
please help me if any body knows.......


Thanks in advance.
 
author
Posts: 3285
13
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is the version of POI that you are compiling with the same version as POI in the runtime? It seems that the two aren't matching...
 
Komari raj
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Martijn Verburg, i am using same POI31.jar file at compile time and run time. i hope there is no chance , poi versions will be different at runtime and compile time. Because i deployed war file into weblogic server.

Thanks
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
An app server loads libraries from many places, not just from your web app; make sure that there isn't another version of POI somewhere in the common libraries or so.

(Also consider upgrading the POI version you're using to at least 3.2 -and even better, 3.5 or 3.6- those fix many bugs in the HSSF implementation. That's unrelated to this problem, though.)
 
Komari raj
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you so much...........Martijn Verburg,Ulf Dittmer
i found another version of poi2.5.jar file at server side.....
it is working fine when i delete that jar file...

Thanks again...



 
Martijn Verburg
author
Posts: 3285
13
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You're welcome!
 
A wop bop a lu bop a womp bam boom! Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic