用命令提示符用fop运行xsl-fo代码总是出现not find org.apache.fop.cli.Main.
用命令提示符用fop运行xsl-fo代码总是出现not find org.apache.fop.cli.Main.Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。
d:\fop>fop Hello.xml -txt hello.txt
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/fop/cli/Ma
in
Caused by: java.lang.ClassNotFoundException: org.apache.fop.cli.Main
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: org.apache.fop.cli.Main. Program will exit.
不知道怎么回事,才开始学习XSL-FO,请高手指点! --------------------编程问答-------------------- fop.jar有没有?
下载地址
http://mirror.csclub.uwaterloo.ca/apache/xmlgraphics/fop/binaries/
补充:Java , Java EE