OK, I've gotten past that error using this command line:

java -cp
build\fop.jar;lib\avalon-framework-4.2.0.jar;lib\commons-logging-1.0.4.jar;lib\commons-io-1.1.jar
org.apache.fop.fonts.apps.TTFReader

However, I get the following:

Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/Node

Is there something else I'm missing?



cbowditch wrote:
> 
> 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Error-using-TTFReader-tf2944457.html#a8250928
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