flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan F. Weber (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-33184) bin/fontswf throws java.lang.NoClassDefFoundError: flash/swf/tags/DefineTag exception
Date Tue, 20 May 2014 12:58:38 GMT

    [ https://issues.apache.org/jira/browse/FLEX-33184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14003182#comment-14003182

Jan F. Weber commented on FLEX-33184:

@Justin: I installed via Apache Flex SDK Installer and I chose the option to install "Adobe
Embedded Font Libraries and Utilities (optional)". I just did a fresh download to see if I
missed something but the result looks like the same. E.g. the downloaded "flex-fontkit.jar"
is only 2Kb of size whereas the working version I used from Flex SDK 4.6 is 55Kb large. The
files "afe.jar, aglj40.jar, rideau.jar" are also only 2KB large and when trying to open I
get a file error stating the files are corrupted/cannot be opened.

> 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

View raw message