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'[email protected]> An: "[email protected]" <[email protected]> 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:[email protected]] Sent: woensdag 3 juni 2015 12:27 To: [email protected] 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'[email protected]> Gesendet: Mittwoch, 3. Juni 2015 09:58 An: [email protected] 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'[email protected]] Sent: woensdag 3 juni 2015 8:41 To: [email protected] 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:[email protected]] Sent: woensdag 3 juni 2015 8:16 To: [email protected] 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'[email protected]> 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
