You're missing some JAR files in the classpath. Judging from the error message at least avalon-framework.jar is missing. Please tell us how you start FOP. Are you using the fop.bat script that comes with FOP? Are you using "java -jar fop.jar"? Or are you setting up the classpath yourself?
The method Main.startFOPWithDynamicClasspath() is only called if some dependencies FOP needs are missing on the classpath. In this case, FOP tries to find the dependencies itself. But that only works if the current directory (the directory where you start the JVM from) is the root directory of your FOP installation. If you start FOP using fop.bat from the root directory of your FOP installation, it should work. Would you please test that? Good luck. On 08.10.2006 07:57:34 Nicol Bolas wrote: > > I'm getting some strange errors with the 0.92beta release of FOP. I'm able to > use 0.91beta just fine, but 0.92beta gives me the following errors: > > "Unable to start FOP: > java.lang.RuntimeException: fop.jar not found in directory: G:\ (or below) > at org.apache.fop.cli.Main.getJARList(Main.java:57) > at > org.apache.fop.cli.Main.startFOPWithDynamicClasspath(Main.java:117) > at org.apache.fop.cli.Main.main(Main.java:192)" > > If I'm in the FOP directory when I run it, I get different errors: > > "java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at > org.apache.fop.cli.Main.startFOPWithDynamicClasspath(Main.java:125) > at org.apache.fop.cli.Main.main(Main.java:192) > Caused by: java.lang.NoClassDefFoundError: > org/apache/avalon/framework/configuration/ConfigurationException > at > org.apache.fop.cli.CommandLineOptions.<init>(CommandLineOptions.java:90) > at org.apache.fop.cli.Main.startFOP(Main.java:146)" > > I'm running on WinXP. > > Any ideas? Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
