Frage

I'm trying to use FOP to generate a pdf file in a signed applet, but, i got these errors:

Dez 10, 2013 2:09:45 PM org.apache.fop.fo.properties.PropertyCache <init>
Informações: Unable to access org.apache.fop.fo.properties.use-cache due to security restriction; defaulting to 'true'.

ERROR:  'Unknown function: gatherContextInfo'

I tried the same code in a desktop application, and everything works fine, the problem is just in the applet.

War es hilfreich?

Lösung

Problem solved!

I had to add the provided xalan.jar in fop-bin.zip to the classpath.

I guess it includes the unknown function while the built in implementation in JRE not.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top