Nicol Bolas wrote:
I'm attempting to import some fonts into FOP 0.93, but I'm running into
trouble. I keep getting this error whenever I try to run TTFReader:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/commons/logging/LogFactory
        at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:116)

Its a classpath problem.


I don't really know what that means or why it's happenning. The command line
I'm using is:

C:\fop-0.93>java -cp
c:\fop-0.93\build\fop.jar;c:\fop-0.93\lib\avalon-framework.jar;c:\fop-0.93\lib\commons-logging.jar;c:\fop-0.93\lib\commons-io.jar
org.apache.fop.fonts.apps.TTFReader

The commons-logging.jar file that you've referenced in the classpath is actually called commons-logging-1.0.4.jar. Take a look in the lib sub folder to check the names of JAR files that you are referencing in your classpath.

Chris




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

Reply via email to