Select to view content in your preferred language

Need Help Compiling Fresh 3.3 Download

2631
6
07-02-2013 12:39 PM
RobertRectenwald
Deactivated User
I just downloaded a zip of 3.3 from GitHub and the 3.3 API from ESRI. I imported the zip file into Flash Builder 4.7 and copied agslib-3.3-2013-04-24 to the project libs directory. The Flex SDK is set for 4.6. I did a clean then build and I am left with following 24 errors. Can anybody help?

Description Resource Path Location Type
1046: Type was not found or was not a compile-time constant: DoubleField. GPInputDoubleParamItemRenderer.mxml /FlexViewer/src/widgets/Geoprocessing/renderers/input line 37 Flex Problem
1046: Type was not found or was not a compile-time constant: DoubleField. GPInputLinearUnitParamItemRenderer.mxml /FlexViewer/src/widgets/Geoprocessing/renderers/input line 78 Flex Problem
1046: Type was not found or was not a compile-time constant: IntegerField. GPInputLongParamItemRenderer.mxml /FlexViewer/src/widgets/Geoprocessing/renderers/input line 37 Flex Problem
1067: Implicit coercion of a value of type String to an unrelated type Number. LayerCreator.as /FlexViewer/src/com/esri/viewer/managers line 326 Flex Problem
1067: Implicit coercion of a value of type String to an unrelated type Number. LayerCreator.as /FlexViewer/src/com/esri/viewer/managers line 326 Flex Problem
1067: Implicit coercion of a value of type String to an unrelated type Number. LayerCreator.as /FlexViewer/src/com/esri/viewer/managers line 326 Flex Problem
1067: Implicit coercion of a value of type String to an unrelated type Number. LayerCreator.as /FlexViewer/src/com/esri/viewer/managers line 326 Flex Problem
1067: Implicit coercion of a value of type String to an unrelated type Number. LayerCreator.as /FlexViewer/src/com/esri/viewer/managers line 326 Flex Problem
1067: Implicit coercion of a value of type String to an unrelated type Number. OverviewMapComponent.mxml /FlexViewer/src/widgets/OverviewMap line 294 Flex Problem
1119: Access of possibly undefined property outScale through a reference with static type com.esri.ags.tasks.supportClasses:PrintParameters. ExportWebMapForm.mxml /FlexViewer/src/widgets/Print line 111 Flex Problem
1120: Access of undefined property CalendarField. AttributeTableWidget.mxml /FlexViewer/src/widgets/AttributeTable line 883 Flex Problem
1172: Definition com.esri.ags.skins.fieldClasses:CalendarField could not be found. AttributeTableWidget.mxml /FlexViewer/src/widgets/AttributeTable line 51 Flex Problem
Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.CalendarField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass1'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem
Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.CodedValueDomainField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass0'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem
Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.DoubleField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass2'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem
Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.DoubleField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass7'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem
Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.IntegerField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass3'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem
Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.IntegerField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass8'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem
Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.LabelField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass4'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem
Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.MemoField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass5'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem
Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.RangeDomainField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass6'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem
Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.StringField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass9'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem
Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.TextField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass10'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem
Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.TypeField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass11'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem
Tags (2)
0 Kudos
6 Replies
RobertScheitlin__GISP
MVP Emeritus
Robert,

  Go and download again and this time change the branch drop down to 'Master' instead of 'Develop'.
0 Kudos
RobertRectenwald
Deactivated User
Thanks Robert, that did the trick. I knew it had to be something stupid I was doing.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Robert,

   Great news. Now if you can just mark this thread as answered.

Don't forget to click the Mark as answer check on this post and to click the top arrow (promote).
Follow these steps as shown in the below graphic:

0 Kudos
MaisarahAbdulHalim
Occasional Contributor
I'm having the same 24 errors, even after downloading the "master" version of Flex Viewer and followed the same step as Robert, Rectenwald. Except that I'm using Adobe Flash Builder 4.6. Can somebody help me?
0 Kudos
BjornSvensson
Esri Regular Contributor
I'm having the same 24 errors, even after downloading the "master" version of Flex Viewer and followed the same step as Robert, Rectenwald.


We're in the process of releasing version 3.4, so if you just downloaded it, you might have ended up with the new 3.4 viewer, but you're still using the 3.3 API.
0 Kudos
MaisarahAbdulHalim
Occasional Contributor
Ahh, make sense! Just saw the note at the top of the GitHub site.


[ATTACH=CONFIG]25677[/ATTACH]

After that, I downloaded my 3.3 Flex Viewer from here, now it's working perfectly!

[ATTACH=CONFIG]25678[/ATTACH]

Have also tried Arcgis viewer 3.4 on my Flash Builder, no more errors.. 🙂

Thanks!
0 Kudos