Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hssf error

 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i'm getting this error although all the needed packages in the classpath

here is the error :


any recommendations?
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How have you added the jars to the classpath? And what command do you use to run the program?
 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jaikiran Pai:
How have you added the jars to the classpath? And what command do you use to run the program?

i made a sealed jar with the eclipse and run the jar with a batch inside it this command
Sealing your java jar

any comments ?
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So you extracted the POI classes, and then added them to that jar file?
 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ulf Dittmer:
So you extracted the POI classes, and then added them to that jar file?


No i putted them as it (.jar)
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't put a jar file inside of another jar file, and then expect the classloader to be able to load those classes. Either extract the classes from the POI jar files and add them to your application's jar file, or keep the jar files separate and add a manifest to the main jar file that points to the other ones.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic