xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pascal Sancho <pascal.san...@takoma.fr>
Subject Re: Batik not loaded
Date Tue, 20 Dec 2011 09:59:33 GMT
Hi,

Lars, are you running FOP on Linux without Xserver?
If this is the case, you should run FOP (and Batik) in headless
environment. See [1] for further info.

[1] http://xmlgraphics.apache.org/fop/1.0/graphics.html#batik

Le 20/12/2011 10:01, Luis Bernardo a écrit :
> 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
-- 
Pascal

---------------------------------------------------------------------
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