Re: Error using TTFReader
That's strange. My Java version (java -version) reads 1.4.2, and I installed Java on this machine from the latest SDK last year. But in any case, it worked. Thanks. That means you're probably still on old JDK 1.3 which doesn't contain JAXP. Please add Xerces and Xalan to the classpath. -- View this message in context: http://www.nabble.com/Error-using-TTFReader-tf2944457.html#a8255423 Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Error using TTFReader
That means you're probably still on old JDK 1.3 which doesn't contain JAXP. Please add Xerces and Xalan to the classpath. On 10.01.2007 03:00:41 Nicol Bolas wrote: > > 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 > > > > Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Error using TTFReader
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]
Re: Error using TTFReader
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]
Error using TTFReader
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) 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 It doesn't matter what parameters I use; it always gets that error. -- View this message in context: http://www.nabble.com/Error-using-TTFReader-tf2944457.html#a8233671 Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]