[
https://issues.apache.org/jira/browse/FLEX-33184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14001509#comment-14001509
]
Jan F. Weber commented on FLEX-33184:
-------------------------------------
Next to "swfutils.jar" I also had to copy mentioned files "afe.jar aglj40.jar
rideau.jar" to "lib/external/optional". I had to use the files from an older
SKD (Flex 4.6) since the files where either missing (flex-fontkit.jar) or
corrupted in the latest SDK (4.12.1)
> 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 was sent by Atlassian JIRA
(v6.2#6252)