aspose file tools*
The moose likes Other Open Source Projects and the fly likes Hssf error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Hssf error" Watch "Hssf error" New topic
Author

Hssf error

Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 477

hi,
i'm getting this error although all the needed packages in the classpath

here is the error :


any recommendations?


Thanks,
Sherif
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9343
    
111

How have you added the jars to the classpath? And what command do you use to run the program?


[My Blog] [JavaRanch Journal]
Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 477

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
Marshal

Joined: Mar 22, 2005
Posts: 39578
    
  27
So you extracted the POI classes, and then added them to that jar file?


Ping & DNS - updated with new look and Ping home screen widget
Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 477

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
Marshal

Joined: Mar 22, 2005
Posts: 39578
    
  27
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hssf error
 
Similar Threads
UnsupportedClassVersionError --
UnsupportedClassVersionError
NoClassDefFoundError
abstract class
NoClassDefFoundError