Welcome

Thanks for dropping by! Feel free to join the discussion by leaving comments, and stay updated by subscribing to the RSS feed. See ya around!

Categories

Tag Cloud

WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.

Could not resolve mx:AdvancedDataGrid to a component implementation

Today my daily maven build was broken with wierd message:

[ERROR] Could not resolve <mx:AdvancedDataGrid> to a component implementation 

This happened after adding  <mx:AdvancedDataGrid> component to project mxml file. In Flex Builder all compiled fine, but build with maven failed. After spending some time with google, i’ve found the root of a problem.  The problem is that  this component isn’t included in Flex SDK, that was installed in my repository.  The files needed for successful compilation are ‘datavisualization.swc’ and ‘datavisualization_rb.swc’. So i took these files from Flex SDK version 3.2 and installed two artifacts to maven repository:

 mvn install:install-file -DgroupId=com.adobe.flex.sdk -DartifactId=datavisualization -Dversion=3.2.0.3958 -Dpackaging=swc -Dfile=datavisualization.swc
mvn install:install-file -DgroupId=com.adobe.flex.sdk -DartifactId=datavisualization_rb -Dversion=3.2.0.3958 -Dclassifier=en_US -Dpackaging=swc -Dfile=datavisualization_rb.swc

And added two dependencies to project pom.xml:


<dependency>
<groupId>com.adobe.flex.sdk</groupId>
<artifactId>datavisualization</artifactId>
<version>${flex.sdk.version}</version>
<type>swc</type>
</dependency>
<dependency>
<groupId>com.adobe.flex.sdk</groupId>
<artifactId>datavisualization_rb</artifactId>
<version>${flex.sdk.version}</version>
<type>swc</type>
<classifier>en_US</classifier>
</dependency>

That’s all, hope it will be helpful for somebody.

Share this:
  • Print this article!
  • Digg
  • Reddit
  • Facebook
  • del.icio.us
  • TwitThis
  • Google Bookmarks
  • Technorati
  • LinkedIn
  • StumbleUpon

2 comments to Could not resolve mx:AdvancedDataGrid to a component implementation