xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luis Bernardo <lmpmberna...@gmail.com>
Subject Re: Batik not loaded
Date Tue, 20 Dec 2011 09:01:12 GMT
You are including images in SVG, correct? Then the error may be
misleading what what you are missing is a different jar (probably JAI
ImageIO), not the Batik jar. Try that...

On Tue, Dec 20, 2011 at 8:27 AM, Lars Bjørndal <lars@lamasti.net> wrote:
> [Terence]
>
>> On 12/19/2011 1:28 PM, Lars Bjørndal wrote:
>>> I get the following error from fop:
>>>
>>> 19.des.2011 20:14:28 org.apache.fop.image.loader.batik.PreloaderSVG$Loader getImage
>>> WARNING: Batik not in class path
>>>
>>> Even though, I have the following CLASSPATH variable:
>>>
>>> /usr/share/java/commons-io.jar:/usr/share/java/batik-all.jar:/usr/share/java/avalon-framework-api.jar:/usr/share/java/avalon-framework-impl.jar:/usr/share/java/xmlgraphics-commons.jar:/usr/share/java/commons-logging.jar:/usr/share/java/fop.jar::/home/lrs/fop/fop-hyph.jar:/usr/share/java/batik-all.jar
>>>
>>> So, what's the problem here? Doesn't the reference to batik-all include
>>> batik? The file exists, and is from package batik-1.7-11.fc15.
>>>
>>> Regards,
>>> Lars
>>
>> Hi, Lars-
>>
>> Are the two colons before /home/lrs/fop/fop-hyph.jar a typo?
>
> Yes or no.. In my .foprc file, I have:
> CLASSPATH="$CLASSPATH:/home/lrs/fop/fop-hyph.jar:/usr/share/java/batik-all.jar".
> When this is put together by the script, there is two colons. I tried
> to drop the colon. The CLASSPATH is then right, but I have the exactly same
> situation regarding Batic not in classpath.
>
> Regards,
> Lars
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message