Hi everyone,

Thank you for reading my post.

Suppose that, in a certain directory, I have the following files:
"test.xml" and "test.xsl".
If I go to this directory and launch in command line:
$ fop -xml test.xml -xsl test.xsl -pdf test.pdf
"test.pdf" is properly created.

Now, I which I could use another syntax such as:

$ java -cp "C:/Program Files/fop-0.95/build/fop.jar;C:/Program
Files/fop-0.95/lib/xml-apis-1.3.04.jar;C:/Program
Files/fop-0.95/lib/xml-apis-ext-1.3.04.jar;C:/Program
Files/fop-0.95/lib/xercesImpl-2.7.1.jar;C:/Program
Files/fop-0.95/lib/xalan-2.7.0.jar;C:/Program
Files/fop-0.95/lib/serializer-2.7.0.jar;C:/Program
Files/fop-0.95/lib/batik-all-1.7.jar;C:/Program
Files/fop-0.95/lib/xmlgraphics-commons-1.3.1.jar;C:/Program
Files/fop-0.95/lib/avalon-framework-4.2.0.jar;C:/Program
Files/fop-0.95/lib/commons-io-1.3.1.jar;C:/Program
Files/fop-0.95/lib/commons-logging-1.0.4.jar" org.apache.fop.apps.Fop -q
-xml test.xml -xsl test.xsl -pdf test.pdf

When I launch that command I get the following error message:
"Exception in thread "main" java.lang.NoSuchMethodError: main"

Can you tell me where the problem is coming from?

Thanks in advance,

--
Lmhelp

-- 
View this message in context: 
http://www.nabble.com/Launching-fop---another-syntax-tp19915864p19915864.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to