Skip navigation
Currently Being Moderated

VerifyError: Error #1014: Class spark.components::HGroup could not be found.

Jul 21, 2013 7:32 AM

Tags: #not #class #be #could #found. #spark.components::hgroup

Hi all

 

I created a  simple flex application which contains following line of codes

 

<?xml version="1.0" encoding="utf-8"?>

<s:HGroup xmlns:fx="http://ns.adobe.com/mxml/2009"

                                 xmlns:s="library://ns.adobe.com/flex/spark"

                                 xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">

          <fx:Declarations>

                    <!-- Place non-visual elements (e.g., services, value objects) here -->

          </fx:Declarations>

</s:HGroup>

 

When I run this application in flex I got the following error on the browser

 

VerifyError: Error #1014: Class spark.components::HGroup could not be found.

 

also there is a warning on the my flash builder console which follows

 

DescriptionResourcePathLocationType
This compilation unit did not have a factoryClass specified in Frame metadata to load the configured runtime shared libraries. To compile without runtime shared libraries either set the -static-link-runtime-shared-libraries option to true or remove the -runtime-shared-libraries option.IRegion.mxml/IRegion/src/com/regionUnknownFlex Problem

after that i setted -static-link-runtime-shared-libraries=true option in additional compiler arguments after that the warning become error which follows

 

DescriptionResourcePathLocationType
Unable to locate specified base class 'spark.components.HGroup' for component class 'com.region.IRegion'.IRegion.mxml/IRegion/src/com/regionUnknownFlex Problem

my flex sdk version is flex 4.6.0

 

Also I have the same problem in the case of s:Button

 

what I need to do?

 

Regards

 

Anish Antony

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points