I really cant figure out why you are getting that error (probably due to an 
ant+xerces issue).. however, i doubt if you can get POI to compile under 
JDK1.1. POI is ususally developed with 1.2+ in mind.

Quoting [EMAIL PROTECTED]:

> Hi, I am fairly new to Java. Ant is a black box/hole... I would like to use
> POI HSSF to process speadsheets using Java on a Lotus Domno R5 server (JVM
> 1.1.8). At present I use Jacob (Java-COM Bridge http://danadler.com/jacob/
> ). It works but I am concerned about possible memory leaks and performance
> when handling a queue of 100's of speadsheets. I couldn't find a Java 1.1
> binary so I d/led the source and tried to build my own (hoping POI doesn't
> use Java 2 specific classes).
> 
> If I execute the build batch file under Win 98 I get
> 
> ".;C:\JDK\lib\classes.zip;C:\JDK\CLASSES;C:\JACOB;.
> \lib\endorsed\XALAN-~1.JAR;.\lib\endorsed\XERCES~1.JAR;.
> \lib\endorsed\XML-APIS.JAR"
> Error loading class org/apache/tools/ant/Main: Bad major version number
> 
> I think the "Bad major"is because the jar files Poi\lib are compiled with
> Java 2. Domino ships with a version of Xerces & Xalan (LotusXSL) which I
> have copied to \Poi and <JDK>\classes even renaming Xerces & Xalan to
> X...2.0.0.jar .  If I try running Ant from the Poi directory I get
> 
> BUILD FAILED
> java.lang.NoClassDefFoundError: org/xml/sax/SAXParseException
>         at org.apache.tools.ant.helper.ProjectHelperImpl.parse(Compiled
> Code)
>         at
> org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:117)
>         at org.apache.tools.ant.Main.runBuild(Compiled Code)
>         at org.apache.tools.ant.Main.start(Compiled Code)
>         at org.apache.tools.ant.Main.main(Main.java:235)
> 
> Total time: 0 seconds
> java.lang.NoClassDefFoundError: org/xml/sax/SAXParseException
>         at org.apache.tools.ant.helper.ProjectHelperImpl.parse(Compiled
> Code)
>         at
> org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:117)
>         at org.apache.tools.ant.Main.runBuild(Compiled Code)
>         at org.apache.tools.ant.Main.start(Compiled Code)
>         at org.apache.tools.ant.Main.main(Main.java:235)
> org/xml/sax/SAXParseException
> 
> The SAXParseException class is listed in the API docs so I don't understand
> why it barfs with that error.
> 
> Can someone point me to a resource/FAQ where I can learn how to work this
> out for myself in future?
> 
> I guess I might need to recompile the other .jars in \Poi\lib too. Isn't
> there an archive of these things somewhere?
> 
> TIA.
> 
> Gerry King
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to