You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Carol Frampton (JIRA)" <ji...@apache.org> on 2012/08/30 21:25:07 UTC

[jira] [Created] (FLEX-33184) bin/fontswf throws java.lang.NoClassDefFoundError: flash/swf/tags/DefineTag exception

Carol Frampton created FLEX-33184:
-------------------------------------

             Summary: bin/fontswf throws java.lang.NoClassDefFoundError: flash/swf/tags/DefineTag exception
                 Key: FLEX-33184
                 URL: https://issues.apache.org/jira/browse/FLEX-33184
             Project: Apache Flex
          Issue Type: Bug
    Affects Versions: Apache Flex 4.8 (parity release)
         Environment: either
            Reporter: Carol Frampton
            Priority: Minor


fontswf won't run

Exception in thread "main" java.lang.NoClassDefFoundError: flash/swf/tags/DefineTag
	at com.adobe.fonts.transcoder.Font2SWF.main(Unknown Source)

The fontswf script uses Adobe's flex-fontkit.jar which was moved to the lib/external/optional dir per Apache's guidelines.  The manifest for this jar expects these jars in the same directory as flex-fontkit.jar.

Class-Path: afe.jar aglj40.jar rideau.jar swfutils.jar

but swfutils.jar is in lib.

workaround: copy or link lib/swfutils.jar to lib/external/optional

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira