flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From L'Hommelet Filip <Filip.L'Homme...@ilias-solutions.com>
Subject RE: Deployed application: runtime: VerifyError: Error #1014: Class mx.core::UIComponent could not be found.
Date Wed, 03 Jun 2015 12:53:08 GMT
What will that change?  Is this in regard to the VerifyError: Error #1014: Class mx.core::UIComponent
could not be found. 
Or the Error: Unable to resolve resource bundle "messaging" for locale "en_US".

Because those two are both fixed with this pom setup :-)
Having issues now compiling a css to an swf

-----Original Message-----
From: Christofer Dutz [mailto:christofer.dutz@c-ware.de] 
Sent: woensdag 3 juni 2015 14:04
To: users@flex.apache.org
Subject: AW: Deployed application: runtime: VerifyError: Error #1014: Class mx.core::UIComponent
could not be found.

Try adding the stuff from the parent behind your last rsl and changing the rb.swc dependencies
to compile scope.

Chris

Gesendet mit meinem HTC

----- Reply message -----
Von: "L'Hommelet Filip" <Filip.L'Hommelet@ilias-solutions.com>
An: "users@flex.apache.org" <users@flex.apache.org>
Betreff: Deployed application: runtime: VerifyError: Error #1014: Class mx.core::UIComponent
could not be found.
Datum: Mi., Juni 3, 2015 13:31

My parent-pom contains this:

<dependencies>
                <dependency>
                        <groupId>com.adobe.flash.framework</groupId>
                        <artifactId>playerglobal</artifactId>
                        <version>${player.version}</version>
                        <type>swc</type>
                </dependency>
                <dependency>
            <groupId>org.apache.flex</groupId>
            <artifactId>framework</artifactId>
                        <version>${flex.version}</version>
            <type>pom</type>
        </dependency>
        </dependencies>


My project pom this:

<dependency>
            <groupId>org.apache.flex.framework</groupId>
            <artifactId>framework</artifactId>
            <version>${flex.version}</version>
            <type>swc</type>
            <scope>rsl</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.flex.framework</groupId>
            <artifactId>textLayout</artifactId>
            <version>${flex.version}</version>
            <type>swc</type>
            <scope>rsl</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.flex.framework</groupId>
            <artifactId>spark</artifactId>
            <version>${flex.version}</version>
            <type>swc</type>
            <scope>rsl</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.flex.framework</groupId>
            <artifactId>sparkskins</artifactId>
            <version>${flex.version}</version>
            <type>swc</type>
            <scope>rsl</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.flex.framework</groupId>
            <artifactId>rpc</artifactId>
            <version>${flex.version}</version>
            <type>swc</type>
            <scope>rsl</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.flex.framework</groupId>
            <artifactId>charts</artifactId>
            <version>${flex.version}</version>
            <type>swc</type>
            <scope>rsl</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.flex.framework</groupId>
            <artifactId>spark_dmv</artifactId>
            <version>${flex.version}</version>
            <type>swc</type>
            <scope>rsl</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.flex.framework</groupId>
            <artifactId>mx</artifactId>
            <version>${flex.version}</version>
            <type>swc</type>
            <scope>rsl</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.flex.framework</groupId>
            <artifactId>advancedgrids</artifactId>
            <version>${flex.version}</version>
            <type>swc</type>
            <scope>rsl</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.flex.framework</groupId>
            <artifactId>apache</artifactId>
            <version>${flex.version}</version>
            <type>swc</type>
            <scope>rsl</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.flex.framework</groupId>
            <artifactId>authoringsupport</artifactId>
            <version>${flex.version}</version>
            <type>swc</type>
            <scope>rsl</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.flex.framework</groupId>
            <artifactId>core</artifactId>
            <version>${flex.version}</version>
            <type>swc</type>
            <scope>rsl</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.flex.framework</groupId>
            <artifactId>experimental</artifactId>
            <version>${flex.version}</version>
            <type>swc</type>
            <scope>rsl</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.flex.framework</groupId>
            <artifactId>flatspark</artifactId>
            <version>${flex.version}</version>
            <type>swc</type>
            <scope>rsl</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.flex.framework</groupId>
            <artifactId>framework</artifactId>
            <version>${flex.version}</version>
            <type>rb.swc</type>
            <scope>internal</scope>
            <classifier>en_US</classifier>
        </dependency>
        <dependency>
            <groupId>org.apache.flex.framework</groupId>
            <artifactId>textLayout</artifactId>
            <version>${flex.version}</version>
            <type>rb.swc</type>
            <scope>rsl</scope>
            <classifier>en_US</classifier>
        </dependency>
        <dependency>
            <groupId>org.apache.flex.framework</groupId>
            <artifactId>spark</artifactId>
            <version>${flex.version}</version>
            <type>rb.swc</type>
            <scope>rsl</scope>
            <classifier>en_US</classifier>
        </dependency>
        <dependency>
            <groupId>org.apache.flex.framework</groupId>
            <artifactId>rpc</artifactId>
            <version>${flex.version}</version>
            <type>rb.swc</type>
            <scope>rsl</scope>
            <classifier>en_US</classifier>
        </dependency>
        <dependency>
            <groupId>org.apache.flex.framework</groupId>
            <artifactId>charts</artifactId>
            <version>${flex.version}</version>
            <type>rb.swc</type>
            <scope>rsl</scope>
            <classifier>en_US</classifier>
        </dependency>
        <dependency>
            <groupId>org.apache.flex.framework</groupId>
            <artifactId>mx</artifactId>
            <version>${flex.version}</version>
            <type>rb.swc</type>
            <scope>rsl</scope>
            <classifier>en_US</classifier>
        </dependency>
        <dependency>
            <groupId>org.apache.flex.framework</groupId>
            <artifactId>advancedgrids</artifactId>
            <version>${flex.version}</version>
            <type>rb.swc</type>
            <scope>rsl</scope>
            <classifier>en_US</classifier>
        </dependency>
        <dependency>
            <groupId>org.apache.flex.framework</groupId>
            <artifactId>apache</artifactId>
            <version>${flex.version}</version>
            <type>rb.swc</type>
            <scope>rsl</scope>
            <classifier>en_US</classifier>
        </dependency>

                <dependency>
                        <optional>true</optional>
                        <groupId>org.apache.flex.framework.themes</groupId>
                        <artifactId>spark</artifactId>
                        <version>${flex.version}</version>
                        <type>swc</type>
                        <scope>theme</scope>
                </dependency>



-----Original Message-----
From: Christofer Dutz [mailto:christofer.dutz@c-ware.de]
Sent: woensdag 3 juni 2015 12:27
To: users@flex.apache.org
Subject: AW: AW: Deployed application: runtime: VerifyError: Error #1014: Class mx.core::UIComponent
could not be found.

Hi Filip,

so what exactly did you change? I know the order of dependencies can be important and they
do have an effect on the generated config file. For example if you import the framework:pom
first and then the individual parts of the fdk as "rsls" then maven will use the first scope
which will be "compile".

That's why when doing rsls I usually add all the rsls first and then all the non-rsl dependencies.

Chris

________________________________________
Von: L'Hommelet Filip <Filip.L'Hommelet@ilias-solutions.com>
Gesendet: Mittwoch, 3. Juni 2015 09:58
An: users@flex.apache.org
Betreff: RE: AW: Deployed application: runtime: VerifyError: Error #1014: Class mx.core::UIComponent
could not be found.

Hey Alex!

So I redeployed with the order that I have written down here and lo and behold, no more UIComponent
error ...
Now I've got new errors but those are related to our own modules ;-)

Thanx for many helps! But man, this switch to 4.14.1 is a real PITA :D

Kr,
Filip

-----Original Message-----
From: L'Hommelet Filip [mailto:Filip.L'Hommelet@ilias-solutions.com]
Sent: woensdag 3 juni 2015 8:41
To: users@flex.apache.org
Subject: RE: AW: Deployed application: runtime: VerifyError: Error #1014: Class mx.core::UIComponent
could not be found.

Hi Alex,

This is my output of a maven build:

Writing configuration dump to D:\I3G\git-workspaces\flex\wp-nato-47\testproject\target\testproject-1.0-configs.xml
Required RSLs:
    framework-swc/library.swf
    textLayout-swc/library.swf
    spark-swc/library.swf
    sparkskins-swc/library.swf
    charts-swc/library.swf
    mx-swc/library.swf
    advancedgrids-swc/library.swf
    core-swc/library.swf

trying to get an output from mxmlc but not sure which flag I need to set on the compiler.

-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com]
Sent: woensdag 3 juni 2015 8:16
To: users@flex.apache.org
Subject: Re: AW: Deployed application: runtime: VerifyError: Error #1014: Class mx.core::UIComponent
could not be found.



On 6/2/15, 10:58 PM, "L'Hommelet Filip"
<Filip.L'Hommelet@ilias-solutions.com> wrote:

>Hey Alex,
>
>I take it you received my dump-file? :-)
>
>This is how I have my dependencies ordered:

I don't know enough about Maven to know if this is right or wrong.  I'm not sure if Chris
is saying some Maven issue is affecting this as well.
In theory, the compiler should take this list of SWCs in any order and compute the right order
in the list that goes in the SWF.  That's what I saw in the dump.

If you take my little test file and build it with Maven, do you also get AdvancedGrids and
Charts before framework.swc?  If you have a non-Maven Flex SDK and use mxmlc to compile my
little test file do you see the RSLs with framework.swc first?  That's what I get.

-Alex


Mime
View raw message