I have been assigned to work on a Java/Flash/BlazeDS project. When I pull down the project code, I need to run an Ant script as part of the setup. This script eventually compiles the Flash code, as seen below.
<exec executable='"@{sdk}/bin/mxmlc.exe"' failonerror="true" >
//A bunch of <arg> tags
</exec>
The sdk attribute used above points to a common folder that our company requires us to use. The path ends in /sdks/4.1.0.
This Ant script is failing on the following error.
Method marked override must override another method.
override public function getPropertyType(propertyName:String):String
The classes that are having the error extend AbstractEntityMetadata, which according to the API, does indeed have a getPropertyType function. But it looks like it might have been added in “Adobe Digital Enterprise Platform Data Services for Java EE 4.5”.
I am guessing that the /sdks/4.1.0 is to blame. However, I pointed the sdk path to my FlashBuilder 4.5’s /sdks/4.5.1 directory, and I still get the same errors.
Does anyone have an idea of what’s going on?
Replace your
libs\fiber.swcfile with a newer version. You could use the one in your FlashBuilder’seclipse\plugins\com.adobe.flexbuilder.project_4.5.1.313231\fiberSwcs\4.5\libsfolder.