Hi, Simon!

You wrote:

> The problem does not occur in fop-1.0, nor in the current development
> version of fop. It may be bug 46386 (see 
> https://issues.apache.org/bugzilla/show_bug.cgi?id=46386). That bug
> report suggests that the problem is due to an empty inline with an id.
> You may either remove such elements, or upgrade to fop-1.0.
>
> We recently discussed with fedora how to solve the problem that they
> had with building fop-1.0, so I hope it is now available in fedora.

I upgraded fop from the update-testing repository, and now, I have
fop-1.0-13.fc14 installed. Unfortunately and surprisingly, I get the
following errors when giving the command 'fop -h' or other fop commands:

Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/xmlgraphics/util/uri/CommonURIResolver
        at org.apache.fop.apps.FOURIResolver.<init>(FOURIResolver.java:56)
        at org.apache.fop.apps.FopFactory.<init>(FopFactory.java:155)
        at org.apache.fop.apps.FopFactory.newInstance(FopFactory.java:177)
        at 
org.apache.fop.cli.CommandLineOptions.<init>(CommandLineOptions.java:121)
        at org.apache.fop.cli.Main.startFOP(Main.java:157)
        at org.apache.fop.cli.Main.main(Main.java:204)
Caused by: java.lang.ClassNotFoundException: 
org.apache.xmlgraphics.util.uri.CommonURIResolver
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
        ... 6 more

Is there some missing dependency packages on my system?

Thanks

Lars

> On Wed, Sep 14, 2011 at 11:13:42AM +0200, Lars Bjørndal wrote:
>> Hello
>> 
>> I'd like to convert the following file into PDF, using fop version 0.95.
>> 
>>   <http://lamasti.net/filer/test.fo>
>> 
>> The fo file is generated from an Docbook XML file with xsltproc. The
>> rest of this mail shows the output from fop, and I hope someon could
>> help me find a way out...
>> 
>> The CLASSPATH variable is set to:
>> /usr/share/java/commons-io.jar:/usr/share/java/batik-all.jar:/usr/share/java/avalon-framework.jar:/usr/share/java/xmlgraphics-commons.jar:/usr/share/java/commons-logging.jar:/usr/share/java/fop.jar::/usr/share/java/xml-commons-apis-ext.jar:/home/lrs/fop/fop-hyph.jar
>> 
>> Here's the output:

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to