I am using apache fop 0.95 and I would like to generate a letter with barcode
128.
I need Barcode128C.TTF and Barcode128C.xml files
I have to generate font metrics file (Barcode128C.xml).

I am using the folowing command:
java -cp
"build/fop.jar;lib/serializer-2.7.0.jar;lib/commons-logging-1.0.4.jar;lib/commons-io-1.3.1.jar"
org.apache.fop.fonts.apps.TTFReader C:\windows\fonts\Barcode128C.TTf
Barcode128C.xml

I get this error :
"
TTF Reader for Apache FOP 0.95

Parsing font...
Reading C:\windows\fonts\Barcode128C.TTf...
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/xmlgraphic
s/fonts/Glyphs
        at
org.apache.fop.fonts.truetype.TTFFile.initAnsiWidths(TTFFile.java:444
)
        at org.apache.fop.fonts.truetype.TTFFile.readFont(TTFFile.java:493)
        at org.apache.fop.fonts.apps.TTFReader.loadTTF(TTFReader.java:209)
        at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:164)
Caused by: java.lang.ClassNotFoundException:
org.apache.xmlgraphics.fonts.Glyphs

        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)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        ... 4 more

please help me what is the problem?

-- 
View this message in context: 
http://old.nabble.com/HELP-me%3A-java.lang.NoClassDefFoundError%3A-org-apache-xmlgraphics-fonts-Glyphs-tp27019770p27019770.html
Sent from the FOP - Users mailing list archive at Nabble.com.

Reply via email to