I am trying to use fop to generate a pdf. We have a limitation that we can 
only use jdk1.1.7a because
of the app server we are still on. I used jdk1.2 and ran build.bat successfully 
and subsequently i can generate the pdfs. However when i try to run 
runtests.bat using the jdk1.1.7A  I get the following error.

java.lang.NoSuchMethodError: java.io.File: method getParentFile()Ljava/io/File; 
not found
        at org.apache.fop.tools.anttasks.FOPTaskStarter.run(Fop.java:180)
        at org.apache.fop.tools.anttasks.Fop.execute(Fop.java:139)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:124)
        at org.apache.tools.ant.Target.execute(Compiled Code)
        at org.apache.tools.ant.Project.runTarget(Project.java:898)
        at org.apache.tools.ant.Project.executeTarget(Compiled Code)
        at org.apache.tools.ant.Project.executeTargets(Compiled Code)
        at org.apache.tools.ant.Main.runBuild(Compiled Code)
        at org.apache.tools.ant.Main.main(Main.java:149)

Is there any way for me make it work in jdk1.1.7A. Any help is appreciated. 

Reply via email to